Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
liferay-faces-3.2.4-ga5
-
None
Description
In BridgePhaseBaseImpl.java the bridge implementation attempts to workaround a request dispatcher implementation detail of Liferay Portal by removing the "javax.servlet.include.path_info" and "javax.servlet.include.servlet_path" request attributes. In addition, RequestScopeMap.java has some Liferay-specific version checks for Liferay Portal related to the "javax.servlet.include.path_info" and "javax.servlet.include.servlet_path" request attributes.
Removing the request attributes is an inappropriate action. Instead, the liferay-faces-bridge-ext.jar module should introduce a custom implementation of ContextMapFactory (see FACES-2583) that handles these Liferay-specific cases.
Steps to Reproduce:
1. Deploy the primefaces5-users-portlet to Liferay 7
2. Attempt to view the "PrimeFaces5 Users" portlet in the Control Panel
If the bug is fixed, then the portlet will render a list of users.
Otherwise, if the bug still exists, the following stacktrace will appear in the server log:
Caused by: javax.servlet.ServletException: File "/application_content/page.jsp" not found at org.apache.jasper.servlet.JspServlet.handleMissingResource(JspServlet.java:417) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:384) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119) at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543) at com.liferay.portlet.PortletRequestDispatcherImpl.dispatch(PortletRequestDispatcherImpl.java:282) ... 235 more
Attachments
Issue Links
- depends on
-
FACES-2583 Promote ContextMapFactory from bridge-impl to bridge-api
-
- Closed
-
- is related to
-
LPS-62799 Control Panel portlets are getting a different PortletSession during a RenderRequest
- Closed