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

LAR import fails in "Copy As New" mode if there are referenced DL files in web contents

    Details

    • Branch Version/s:
      6.1.x, 6.0.x
    • Backported to Branch:
      Committed
    • Story Points:
      3

      Description

      1. Add an image file to the Document Library
      2. Create a web content article and insert the previously added image within the content of the article (select it with the built in tool of CKEditor)
      3. After saving the article, go to any page of the site and add a Web Content Display portlet
      4. Select the previously created web content to be displayed in it
      5. Click on the Options of the portlet (wrench icon) then on Export/Import
      6. Export the data of the portlet to a LAR file
      7. Create a new blank site and add a page to it
      8. Go to the new site's page and add a Web Contet Display portlet
      9. Click on the Options of the portlet (wrench icon) then on Export/Import
      10. Go to Import, select the LAR file you exported previously
      11. Select "Copy As New" for the Data Strategy and start the import

      On trunk: The import will be successful, but the image within the web content will be missing

      On 6.1.x: The import will result in a NoSuchFileEntryException and the process will be aborted

        Issue Links

          Activity

          Hide
          gergely.mathe Gergely Mathe added a comment -

          Reassigning because Tamás is away.

          Show
          gergely.mathe Gergely Mathe added a comment - Reassigning because Tamás is away.
          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c228096a2b9aaf99682927558a73b586d50867bd.

          Can't see the image when finish import.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: cf60e9ef9b44c04d52ec45714f463bf1f76dae7a.

          Able to see the image when finish import.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: c228096a2b9aaf99682927558a73b586d50867bd. Can't see the image when finish import. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: cf60e9ef9b44c04d52ec45714f463bf1f76dae7a. Able to see the image when finish import.
          Hide
          mark.jin Mark Jin (Inactive) added a comment -

          PASSED Manual Testing following the steps in the description.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: fcac7b00c417682a23bb443a3d91bf387966e032.

          Able to see the image when finish import.

          Show
          mark.jin Mark Jin (Inactive) added a comment - PASSED Manual Testing following the steps in the description. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: fcac7b00c417682a23bb443a3d91bf387966e032. Able to see the image when finish import.

            People

            • Assignee:
              mark.jin Mark Jin (Inactive)
              Reporter:
              gergely.mathe Gergely Mathe
              Recent user:
              Gabor Kovacs
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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

                Development

                  Subcomponents