Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1384

PrimeFaces p:fileUpload fails with two different portlets on the same page

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: liferay-faces-3.0.0-ga1, liferay-faces-3.0.3-ga4, liferay-faces-3.1.0-ga1, liferay-faces-3.1.3-ga4, liferay-faces-3.2.4-ga5
    • Fix Version/s: None
    • Labels:
      None

      Description

      This issue still exists in Primefaces 4.

      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)
      	...
      

      Related Primefaces Issue: Primefaces 6192

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: