Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29416

Add an explicite dependency on nuxeo-core-cache in nuxeo-platform-usermanager-core

    XMLWordPrintable

    Details

    • Release Notes Summary:
      A warn is logged if cache service not available when initializing User Manager on 10.10 and 2021. A requirement is added from 2023.
    • Backlog priority:
      550
    • Sprint:
      nxplatform #72
    • Story Points:
      3

      Description

      UserManagerImpl initialization depends on the service CacheService at https://github.com/nuxeo/nuxeo/blob/master/modules/platform/nuxeo-platform-usermanager-core/src/main/java/org/nuxeo/ecm/platform/usermanager/UserManagerImpl.java#L227

       

      In some customer projects which uses UserManager, it's possible that UserManager is initialized before nuxeo-core-cache is deployed. Then UserManagerImpl#cacheService variable will be null

       

      We need a solution to be sure that the CacheService will be initialized before the UserManager

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: