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

Attempting to edit LDAP Server through Configuration Admin throws ClassCastException

    Details

      Description

      Steps to reproduce:

      1. Add a new LDAP Server through Control Panel > Instance Settings > Authentication > LDAP. Default settings are fine.
      2. Go to System Settings > Platform > LDAP Servers > View
      3. Go to your created Server and click Edit

      Expected Result:
      The LDAP Server configured in Step1 will be displayed and available for editing.

      Actual Result:
      "Portlet is temporarily unavailable." is displayed and the following stack trace is printed:

      java.lang.ClassCastException: java.lang.String cannot be cast to [Ljava.lang.Object;
              at com.liferay.configuration.admin.web.util.AttributeDefinitionUtil.getProperty(AttributeDefinitionUtil.java:66)
              at com.liferay.configuration.admin.web.util.ConfigurationModelToDDMFormValuesConverter.addDDMFormFieldValues(ConfigurationModelToDDM
      Converter.java:77)
              at com.liferay.configuration.admin.web.util.ConfigurationModelToDDMFormValuesConverter.addDDMFormFieldValues(ConfigurationModelToDDM
      Converter.java:98)
              at com.liferay.configuration.admin.web.util.ConfigurationModelToDDMFormValuesConverter.getDDMFormValues(ConfigurationModelToDDMFormV
      rter.java:52)
              at com.liferay.configuration.admin.web.util.DDMFormRendererHelper.getDDMFormValues(DDMFormRendererHelper.java:98)
              at com.liferay.configuration.admin.web.util.DDMFormRendererHelper.createDDMFormRenderingContext(DDMFormRendererHelper.java:71)
              at com.liferay.configuration.admin.web.util.DDMFormRendererHelper.getDDMFormHTML(DDMFormRendererHelper.java:55)
              at com.liferay.configuration.admin.web.portlet.action.EditConfigurationMVCRenderCommand.render(EditConfigurationMVCRenderCommand.jav
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.render(MVCPortlet.java:275)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
              at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:55)
              at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
              at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
              at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:113)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at com.liferay.portal.portlet.tracker.internal.PortletTracker$PortletServletWrapper.service(PortletTracker.java:1426)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
              at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
              at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
              at com.liferay.portal.portlet.tracker.internal.PortletTracker$RestrictPortletServletRequestFilter.doFilter(PortletTracker.java:1446)
      

        Attachments

          Activity

            People

            • Assignee:
              ian.song Ian Song (Inactive)
              Reporter:
              brian.greenwald Brian Greenwald
              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:
                3 years, 35 weeks ago

                Packages

                Version Package
                7.0.0 Beta 3