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

The simple fields in a "Copy of the Structure" are being quadrupled after trying to save the structure without renaming the duplicate FieldReferences.

    Details

      Description

      Description

      The simple fields in a "Copy of the Structure" are being quadrupled after trying to save the structure without renaming the duplicate FieldReferences.

      Pre-conditions

      1. Go to Content & Data > Web Content > Structures;
      2. Add all Fields > Save the Structure > Make a copy of the newly created Structure;
      3. Edit the Copy > Add a fieldset compose of the first Structure created > Try to save the Copy of Structure;
      4. Note that it's impossible to save due to the duplicity of  some FieldReferences;
      5. Scroll the page and notice that the simple fields have been quadrupled; (bug)

      Expected Result

      The simple fields of the "Copy of the Structure" should not be quadrupled after trying to save without renaming the duplicate FieldReferences.

      Actual Result

      The simple fields in the "Copy of the Structure" are being quadrupled after trying to save without renaming the duplicate FieldReferences.

      Reproduced In
      master: 7985dd55f78d0b4e4960d1b8b07158787e32d29f

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            julia.lira Julia Lira
            Participants of an Issue:
            Recent user:
            Yang Cao
            Engineering Assignee:
            Eudaldo Alonso
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              33 weeks, 6 days ago

                Packages

                Version Package
                Master