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

LAR import will fail if there is a link to a Documents & Media file on another instance of Liferay

Details

    Description

      Description
      LAR import will fail if there is a link to a Documents & Media file on another instance of Liferay

      Steps to reproduce/Testing done

      1. Start Liferay DXP and login as admin.
      2. Create the blank site.
      3. Create new web content. Add an anchor link inside the content by typing some text in the content field, highlighting it, and clicking the link icon that pops up. Link it to a document on a separate Liferay instance.
      4. Export the LAR file from this site.
      5. Shutdown Liferay.
      6. Clear the database and app server work/temp directories.
      7. Startup Liferay and Login as admin.
      8. Import this LAR file created earlier.

      Results of Testing
      Expected behavior: The LAR imports with no issues.
      Actual behavior: The LAR fails to import with the reason that there is a NoSuchFileEntryException.

      Errors/Logs
      n/a

      Reproduced...
      Reproduced in trunk? No (9ad5826cc4b2d6774ed52bf19ee8a783b7209101) - Issue is fixed in master due to LPS-66799, in which the BaseTextExportImportContentProcessor was drastically changed. However, we cannot backport this LPS, as it is a subtask of a story ticket.
      Reproduced in 7.0.x? Yes (b3be8dafeaab77d8db755c3e9818ec87704e7d0d)

      Attachments

        Issue Links

          Activity

            People

              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              michael.bowerman Michael Bowerman
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 38 weeks, 4 days ago

                Packages

                  Version Package
                  7.0.0 DXP SP1
                  7.0.0 DXP FP8
                  7.0.3 CE GA4
                  7.1.X
                  Master