Uploaded image for project: 'PUBLIC - Liferay Social Office Community Edition'
  1. PUBLIC - Liferay Social Office Community Edition
  2. SOS-2338

Adding a user through LDAP throws exception

    Details

      Description

      1. Enable LDAP
      2. Try to log in with LDAP user
      3. NPE will be thrown when the portal is creating the user

      *Note: Even after this fix, the user will not be able to log in because this bug leaves dirty data in the database. It also can not be cleaned through service calls because the exception is thrown in the middle of user creation.

      This is the SQL command I had to run to clean up the data:

      delete from User_ where userId not in (select userId from Contact_) and status = 2
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 17 weeks ago

                  Packages

                  Version Package
                  3.X EE
                  3.X CE
                  3.1 EE
                  3.1.0 CE