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

Missing LDAP mapping properties cause NPE on import

    Details

      Description

      LDAP import on portal start-up causes NullPointerException if:

      • LDAP has been configured via portal-ext.properties and
      • some mappings lines are not present (rather than left unset).

      Reproduction steps:

      1. Unzip a fresh Portal bundle
      2. Configure LDAP in your portal-ext.properties (see attached properties file)
      3. Start up the Portal
      4. Logs will contain NullPointerExceptions coming from PortalLDAPImporterImpl.

      The problem disappears upon the following lines are added to the properties:

      ldap.user.custom.mappings.0=
      ldap.contact.mappings.0=
      ldap.contact.custom.mappings.0=
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                he.song Serena Song (Inactive)
                Reporter:
                jozsef.illes József Illés (Inactive)
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 17 weeks, 3 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE B2