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

When exception is thrown during saving the LDAP server setting, old jsp is referenced

    Details

      Description

      Instead of rendering a related error on UI for example when the Server Name validation fails, the following error is printed 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)
      
      

      This issue possibly related to LPS-61188 as the referenced /edit_ldap_server.jsp now served from the module path, but for this error, it is referenced from the global one from where it is already moved.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 46 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 5