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

Only one global category is added as missing reference

    Details

      Description

      LPS-60419 creates a references validation for Global categories but it's only having in account one of the missing categories, this is causing that only that category is going to be referenced after an successful import.

      Steps to reproduce

      Requirement: two environments.

      Environment 1

      1. Go to Sites > Global > Categories > and create a new vocabulary: voc1
      2. Create three categories in voc1: category1, category2, category3
      3. Go to Sites > Global: export and download the global lar
      4. Go to Sites > Liferay site admin > Web Content, and create four web contents:
        • web content 1 categorized with the category1
        • web content 2 categorized with the category2
        • web content 3 categorized with the category3
        • web content 4 without categories
      5. Go to Liferay site admin > Pages: Export pages (public)
        • All the content option needs to be selected
      6. Download the lar file.

      Environment 2

      1. Go to Sites > Global: and import the global lar of the Env 1.
      2. Go to Liferay site admin > Pages and import the site lar of the Env 1.

      Result
      Imported web contents are:

      • web content 1 without categories
      • web content 2 without categories
      • web content 3 categorized with category3
      • web content 4 without categories

      Expected
      Imported web contents are:

      • web content 1 categorized with the category1
      • web content 2 categorized with the category2
      • web content 3 categorized with the category3
      • web content 4 without categories

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherry.zhu Sherry Zhu
                Reporter:
                jose.jimenez Jose Jimenez
                Participants of an Issue:
                Recent user:
                Jason Pince
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 37 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.X EE