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

Publication/Import fails with DuplicateCategoryException

    Details

      Description

      Steps to reproduce (master):

      1. Create a site
      2. Create a category A in Topic
      3. Export public pages
      4. Import lar to the site -> you will have a Vocabulary Topic (2) with category A in it
      5. Delete category A from Topic (2)
      6. Create category A in Topic (2)
      7. Import the lar to the site again

      Expected result:
      Category "a (2)" is created in Topic (2)

      Actual result:
      Import fails with DuplicateCategoryException

      Steps to reproduce (6.2.x and 6.1.x):

      1. create a category
      2. enable local staging
      3. delete the category
      4. create a category with the same name as the one you deleted
      5. publish to live

      Expected result:
      publication would be successful

      Actual result:
      publication fails with DuplicateCategoryException

      Reproduced on ee-6.1.x d07c810fea1120857adf66e2ca6c530a386678ee
      Reproduced on ee-6.2.x 52f7501
      Reproduced on master 2090f7f85533a19220b1e7c0dac33d124dd24f25

        Attachments

        1. fixed_1.png
          fixed_1.png
          13 kB
        2. fixed.png
          fixed.png
          10 kB
        3. reproduced.png
          reproduced.png
          13 kB

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              bryan.engler Bryan Engler
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M2