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

Creating a Web Content with ID (key) that already exists replaces the first original one.

    Details

      Description

      Steps to reproduce

      1. Go to System Settings -> Web Content -> Administration and disable the flag named "Journal Article Force Autogenerate ID";
      2. Create and save a Web Content with custom article id 10, title 10, content 10;
      3. Create another Web Content with the same article id 10, title 10x, content 10x then notice the error message saying that you have to use a unique ID;
      4. Change the ID of the content 10x (currently in edit mode) to 100 and publish the content;

      Expected behavior

      Two web contents are available: 10 and 10x

      Current behavior

      Only one web content is available: 10x, which replaced the content with article id. No content with article id 100 is available.

      Reproduced on master @ b83114899ae5e4bd64c95a039348958b4cfefdff

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              cleydyr.albuquerque Cleydyr Albuquerque (Inactive)
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Cleydyr Albuquerque (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 33 weeks, 1 day ago

                  Packages

                  Version Package
                  7.1.10 DXP FP26
                  7.1.10.7 SP7
                  7.1.X
                  7.2.10 DXP FP12
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master