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

Categories section is inconsistent after a lar file importation

    Details

      Description

      Steps to reproduce:

      1. Go to Liferay -> Content -> Categories
      2. Click on the plus button to add a new Vocabulary
      3. On edit screen, go to Associated Asset Type
      4. Choose Wiki Page, Document - Basic Document, User, Page and Save
      5. Click on the new Vocabulary and add at least 2 new Categories and back to the Vocabularies List
      6. Click on Categories's kebab menu and select Export/Import
      7. Click on Export to export the Vocabulary and download the lar file
      8. Run the SQL Query on the database
        SELECT classNameId FROM ClassName_ where value in('com.liferay.document.library.kernel.model.DLFileEntry','com.liferay.portal.kernel.model.Layout','com.liferay.portal.kernel.model.User','com.liferay.wiki.model.WikiPage');
        
      9. Go to an other Liferay Portal Server or clean up the current database and startup the portal.
      10. Run again the SQL Query on the database
        SELECT classNameId FROM ClassName_ where value in('com.liferay.document.library.kernel.model.DLFileEntry','com.liferay.portal.kernel.model.Layout','com.liferay.portal.kernel.model.User','com.liferay.wiki.model.WikiPage');
        

        And make sure that at least one row is different between the databases.

      11. Go to Liferay -> Content -> Categories
      12. Click on Categories's kebab menu and select Export/Import
      13. Go to Import's tab, select the lar file and import
      14. Edit the new Vocabulary
      15. Make sure the all Associated Asset Types is the same.

      Expected result:
      After step 14 the Category's portlet is available and after the step 15 the Associated Asset Types is the same from the original.

      Actual result:
      After step 14 the Category's portlet is unavailable or after the step 15 the Associated Asset Types is different from the original.

      Reproduce on Master at GIT ID:43cf8016f594f9c65da85577c5533abb599f848a

        Attachments

        1. master pass.png
          master pass.png
          52 kB
        2. pass 7.0.png
          pass 7.0.png
          53 kB

          Activity

            People

            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 31 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP12
                7.0.0 DXP SP2
                7.0.3 CE GA4
                7.1.X
                Master