-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 9.10, 10.10
-
Fix Version/s: 10.10-HF67, 2023.0, 2021.28
-
Component/s: User Profile / User Manager
-
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.
-
Tags:
-
Backlog priority:550
-
Sprint:nxplatform #72
-
Story Points:3
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