Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.0.0-legacy-ga1, 3.0.0-ga1, 3.1.0-ga1
-
Fix Version/s: None
-
Component/s: demos
-
Labels:None
-
Similar Issues:
Description
Steps to reproduce:
1. Download and deploy the primefaces3-portlet within Liferay+Tomcat
2. Add two instances of the portlet to the same portal page
3. Upload files with the first portlet instance
4. Upload files with the second portlet instance
If the bug still exists, then the files will not appear in the list of the second portlet instance, and the following error will appear in the Tomcat log:
22:21:16,451 ERROR [ExceptionHandlerAjaxImpl:57] viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored. javax.faces.application.ViewExpiredException: viewId:/views/portletViewMode.xhtml - View /views/portletViewMode.xhtml could not be restored. at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:205) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:116) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35) at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99) at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:116) at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178) at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118) at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71) at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) ...

I'm facing this issue. Has any workaround been found yet? I'm assuming the cause is that since a copy of jQuery is loaded for each portlet on the page, the file component throws an error.