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

LDAP Server Settings becomes unavailable when Server Name is not specified

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Duplicate
    • Affects Version/s: 7.0.0 Beta 2
    • Fix Version/s: None
    • Labels:
      None

      Description

      When the LDAP Server Name is not specified, the LDAP Server Settings Portlet will become unavailable when the user presses the Save button.

      The reason is that the content of the text field containing the server name is not validated on UI before saving the settings.

      Besides the error on the screenshot, the following stacktrace can be observed in the log:

      21:02:53,585 WARN  [http-bio-8080-exec-4][code_jsp:130] {code="404", msg="ProxyServlet: /o/frontend-theme-admin-web/admin/images/aui/loading_indicator.gif", uri=/o/frontend-theme-admin-web/admin/images/aui/loading_indicator.gif}
      21:03:03,345 ERROR [http-bio-8080-exec-1][render_portlet_jsp:131] null
      java.io.FileNotFoundException: /com.liferay.portal.settings.web/edit_ldap_server.jsp
      	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:455)
      	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
      	at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:285)
      	at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:296)
      	at com.liferay.portal.portlet.tracker.internal.PortletTracker$JspServletWrapper.service(PortletTracker.java:1411)
      	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)
      	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:118)
      	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:71)
      	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:98)
      	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:45)
      	at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:282)
      	at com.liferay.portlet.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:104)
      	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:552)
      	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:568)
      	at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:476)
      	at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
      
      

        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:
                  3 years, 44 weeks ago

                  Packages

                  Version Package