Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30887

Export user to LDAP cause error message.

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 6.2.0 CE M3
    • Fix Version/s: 6.2.0 CE M2
    • Labels:
      None
    • Environment:
      Portal 6.2.x GIT ID: 1ac2bf914aa8bd35e2b9b04ad8980531dfc84822.

      Description

      1. Add Apache Directory Server.
      2. Fill the field.
        Connection
        Base Provider URL=ldap://localhost:10389
        Base DN=dc=example,dc=com
        Principal=uid=admin,ou=system
        Credentials=secret
        Users
        Authentication Search Filter=(mail=@email_address@)
        Import Search Filter=(objectClass=person)
        Screen Name=cn
        Password=userPassword
        Email Address=mail
        First Name=givenName
        Last Name=sn
        Job Title=title
        Groups
        Import Search Filter=(objectClass=groupOfUniqueNames)
        Group Name=cn
        Description=description
        User=uniqueMember
        Export
        Users DN=dc=example,dc=com
        User Default Object Classes=top,person,inetOrgPerson,organizationalPerson
        Groups DN=dc=example,dc=com
        Group Default Object Classes=top,groupOfUniqueNames
        
      3. Check Enabled and Export Enabled.
      4. Go to Users and Organizations.
      5. Add a new user.
      08:11:36,876 ERROR [http-bio-8080-exec-2][render_portlet_jsp:154] com.liferay.portal.ModelListenerException: java.lang.NullPointerException
      	at com.liferay.portal.model.UserListener.onAfterCreate(UserListener.java:65)
      	at com.liferay.portal.model.UserListener.onAfterCreate(UserListener.java:1)
      	at com.liferay.portal.model.BaseModelListener.onAfterCreate(BaseModelListener.java:1)
      	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:291)
      	at com.liferay.portal.service.persistence.impl.BasePersistenceImpl.update(BasePersistenceImpl.java:351)
      	at com.liferay.portal.service.impl.UserLocalServiceImpl.addUserWithWorkflow(UserLocalServiceImpl.java:801)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:122)
      	at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:71)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      	at com.liferay.portal.spring.aop.ChainableMethodAdvice.invoke(ChainableMethodAdvice.java:57)
      	at com.liferay.portal.spring.aop.ServiceBeanMethodInvocation.proceed(ServiceBeanMethodInvocation.java:118)
      	at com.liferay.portal.security.pacl.PACLAdvice.invoke(PACLAdvice.java:51)
      

        Attachments

          Activity

            People

            • Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              mark.jin Mark Jin (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 42 weeks, 2 days ago

                Packages

                Version Package
                6.2.0 CE M2