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

Custom Fields mapped to LDAP broken in PortalLDAPImporterImpl.populateExpandoAttributes

    Details

      Description

      Reference forum thread: https://www.liferay.com/community/forums/-/message_boards/message/30294809

      I and another community member have identified an issue with the proper identification of expando fields in PortalLDAPImporterImpl.populateExpandoAttributes(). The if statement

      if (!expandoMappings.containsKey(name) ||
      _ldapUserIgnoreAttributes.contains(name)) {

      should be

      if (expandoMappings.containsKey(name) &&
      !_ldapUserIgnoreAttributes.contains(name)) {

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mika.koivisto Mika Koivisto
              Reporter:
              sparky Chris Spoehr (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:
                7 years, 7 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.0 CE GA1