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

Querying roles in role selector throws FileNotFoundException

    Details

      Description

      Steps to reproduce issue:

      1. Navigate to Control Panel > Users > Users and Organizations
      2. Add a user
      3. Under "User Information" click "Roles"
      4. Click "Select" under "Regular Roles", "Organization Roles", or "Site Roles" to open role selector
      5. In the search field, enter a search query
      6. Hit "enter" key to search

      Expected result: Searching with the query will return role(s) containing query if role exists
      Actual result: Searching using the query will not return any results; a FileNotFoundException is thrown in console (see below), and a portlet error is displayed:
      Roles is temporarily unavailable

      Note: This exception also occurs when using pagination options in the role selector.

      21:06:25,826 ERROR [http-bio-8080-exec-4][render_portlet_jsp:131] null
      java.io.FileNotFoundException: /select_regular_role.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:274)
              at com.liferay.portal.servlet.jsp.compiler.JspServlet.service(JspServlet.java:285)
              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:1413)
              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:514)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.include(MVCPortlet.java:530)
              at com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet.doDispatch(MVCPortlet.java:438)
              at com.liferay.roles.admin.web.portlet.RolesAdminPortlet.doDispatch(RolesAdminPortlet.java:423)
              at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)

      Reproduced on:
      Tomcat 7.0.62 + MySQL 5.5
      Portal Master GIT ID: 240cc805adde0eeb178d456ddbc198b379f0ebcd.

        Attachments

          Activity

            People

            Assignee:
            anthony.chu Anthony Chu
            Reporter:
            anthony.chu Anthony Chu
            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:
              5 years, 12 weeks ago

                Packages

                Version Package
                7.0.0 Alpha 1