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

Cannot import DM lar if there is a document with the same friendly URL

Details

    Description

      Step to reproduce:

      1. Go to DM
      2. Upload a document
      3. Export the DM portlet
      4. Go to DM to import the exported lar
      5. Check "Delete Application Data Before Importing" during the import process

      Expected Results:
      Import successful

      Current Results:
      Cannot import DM lar:

      An unexpected error occurred with the publish process. Please check your portal and publishing configuration.
      The model.resource.com.liferay.portal.repository.liferayrepository.model.LiferayFileEntry Commerce_Blue could not be imported because of the following error: {"mvccVersion": 0, "ctCollectionId": 0, "friendlyURLEntryLocalizationId": 336, "companyId": 20097, "friendlyURLEntryId": 43637, "languageId": "en_US", "urlTitle": "commerce_blue", "groupId": 20121, "classNameId": 39323, "classPK": 43634}.
      

      NOTE:

      • If deleting the added document first, then importing the lar, it works as expected.
      • If import the lar into a new site, then it works too.

      Attachments

        Issue Links

          Activity

            People

              beck.liu Beck Liu
              yvonne.han Yvonne Han
              Marta Elicegui Marta Elicegui
              Alicia Garcia Alicia Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11 weeks, 4 days ago

                Packages

                  Version Package
                  7.4.3.34 CE GA34
                  Master