Uploaded image for project: 'LDAP Connector'
  1. LDAP Connector
  2. MGNLLDAP-103

Problem with cache during startup with task for adding a user role

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.9
    • 1.7.1
    • None
    • Kromeriz 105, Kromeriz 106
    • 2

      Created task in the versionhandler (for adding a extra role to user) fails during the startup because cache is not available but is requested. It causes an exception from Guice caused by the info.magnolia.jaas.sp.ldap.LDAPUserManager that requests the CacheModule.

      What happens is that when you add a role to a user, the user is requested through the DelegatingUserManager. This iterates over the available user managers (in keySet order so no speciic order), when it requests the user from the LdapUserManager the usermanager tries to access the cache, which as this is during the startup is not available and cause Guice to throw a ProvisionException which causes Magnolia to stop.

        Acceptance criteria

              mdivilek Milan Divilek
              evystup Ervin Vystup
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD