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

Cannot export Web Content when Structure field names collide

    Details

      Description

      Reproduction steps:

      1. Create a Web Content Structure with a Text Field
      2. Click on the Field, under Settings change the name to "TestName"
      3. Create a Web Content using the Structure
      4. Edit the Structure: Remove the Text Field and add a Web Content Field with the same name ("TestName")
      5. Export the Web Content portlet

      Result:
      Export fails with JSONException.

      Expected:
      Export is successful.

      Note:
      The JSONException is also thrown when we open the Web Content to edit it.

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            tamas.molnar Tamas Molnar
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 22 weeks, 6 days ago

                Packages

                Version Package
                Master