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

Missing portlet properties when upgrading to Liferay 6.1 EE (was LPS-20008)

    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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 19 weeks, 4 days ago

                  Packages

                  Version Package
                  6.0.X EE