Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-3828

Model wrapper's clone() and toEscapedModel () returns incorrect object

    Details

      Description

      The clone() and toEscapedModel() methods in model wrapper classes returns the wrong object. They currently return the model object when it should return the model wrapper object.

      For example, UserWrapper.clone() will return a User object. However, it should return a UserWrapper object.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel.kong Samuel Kong
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP6 (5.1.9)
                  5.2 EE SP6 (5.2.10)
                  6.0 EE SP1 (6.0.11)