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

Missing portlet properties when upgrading to liferay 6.0

    Details

      Description

      http://www.liferay.com/community/forums/-/message_boards/view_message/10436140#_19_message_8246721

      After upgrading from liferay 5.2.3 to Liferay 6.0 we saw this error. It seems that 3 portletproperties are missing:

      ldap.user.custom.mappings.<ldapServerId>=
      ldap.contact.mappings.<ldapServerId>=
      ldap.contact.custom.mappings.<ldapServerId>=

      The issue can be worked around by adding these to the portal-ext.properties. (thanks Robert Lindblom)

      The error:
      011-04-14 12:00:38 ERROR [com.liferay.portal.security.auth.LDAPAuth] - Problem accessing LDAP server
      java.lang.NullPointerException
      at com.liferay.portal.kernel.io.unsync.UnsyncStringReader.<init>(UnsyncStringReader.java:33)
      at com.liferay.portal.kernel.util.PropertiesUtil.load(PropertiesUtil.java:199)
      at com.liferay.portal.kernel.util.PropertiesUtil.load(PropertiesUtil.java:192)
      at com.liferay.portal.security.ldap.LDAPSettingsUtil.getUserExpandoMappings(LDAPSettingsUtil.java:125)
      at com.liferay.portal.security.ldap.PortalLDAPUtil.getUserAttributes(PortalLDAPUtil.java:484)
      at com.liferay.portal.security.auth.LDAPAuth.authenticate(LDAPAuth.java:258)
      at com.liferay.portal.security.auth.LDAPAuth.authenticate(LDAPAuth.java:363)

        Attachments

          Activity

            People

            Assignee:
            luyang.tan Luyang Tan (Inactive)
            Reporter:
            m0smith Matthew O. Smith (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              10 years, 9 weeks, 5 days ago

                Packages

                Version Package
                6.0.X EE