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

NotSerializableException thrown when PrimeFaces p:fileUpload used in a clustered environment

    Details

      Description

      The com.liferay.faces.bridge.renderkit.primefaces.FileUploadRendererPrimeFacesImpl class has an inner-class named PrimeFacesFileItem that implements java.io.Serializable. However, the parent FileUploadRendererPrimeFacesImpl class does not implement java.io.Serializable which causes a problem in a clustered environment. Specifically, the instance of PrimeFacesFileItem is set as the "submitted" value on the PrimeFaces p:fileUpload component, and needs to be serialized as part of the javax.faces.ViewState.

      The fix for this bug would be to refactor things so that PrimeFacesFileItem is no longer an inner-class.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.0.4-legacy-ga5
                liferay-faces-3.0.4-ga5
                liferay-faces-3.1.4-ga5
                liferay-faces-3.2.4-ga5