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

PortletDataException with a stagedModel loaded into it causes ClassNotFoundException

    Details

      Description

      When using remote staging, in some cases when an error happens on the remote live we throw a PortletDataException on the live site and we load the current context - a staged model - to the exception object.

      As this is being serialized and sent back to the stage site the contained staged model is being serialized too. When the stage site receives the exception it tries to deserialize along with the staged model. As we are running in an OSGi environment, the staged model's class could not be found as the class is not present on the class loader of the receiving end.

        Attachments

          Activity

            People

            • Assignee:
              lu.liu Lu Liu
              Reporter:
              mate.thurzo Mate Thurzo (Inactive)
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 26 weeks ago

                Packages

                Version Package
                7.0.0 DXP FP26
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master