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

Adding an LDAP Server without a server name entered throws an exception

    Details

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

      Description

      Steps to reproduce:

      1. Go to Control Panel > Configuration > Instance Settings.
      2. Add or edit an LDAP Server using the Add button in Authentication > LDAP.
      3. Leave the Server Name field blank and Save the configuration with the default values.

      Expected Result:
      The user is returned to the Add LDAP Server page with an error message displayed, asking for a correct Server Name to be entered.

      Actual Result:
      "Instance Settings is temporarily unavailable." is displayed and the following stack trace is thrown:

      19:38:54,561 ERROR [http-bio-8080-exec-8][render_portlet_jsp:131] null
      java.io.FileNotFoundException: /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:270)
              at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:281)
              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

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                brian.greenwald Brian Greenwald
                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:
                  3 years, 45 weeks ago

                  Packages

                  Version Package