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

ServiceContext clone makes only shallow copies of attributes, expandoBridgeAttributes and headers

    Details

      Description

      E.g.
      https://github.com/liferay/liferay-portal/blob/master/portal-service/src/com/liferay/portal/service/ServiceContext.java#L97

      Caused some headache when I used clone to make copies of service context and modified some attribute values and used the "different" service contexts that all showed the state of the last changes in attributes.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 3 weeks, 4 days ago

                Packages

                Version Package