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

DuplicateFileException occurs when importing site pages with DBStore

Details

    Description

      Note: This issue only affects Master when the Adaptive Media module is disabled.

      DESCRIPTION
      Customer sees error after importing public pages with custom theme after DB Store is configured.

      STEPS TO REPRODUCE
      1) Start a fresh instance of liferay with the following property set: dl.store.impl=com.liferay.portal.store.db.DBStore

      1a) If running master, remove all com.liferay.adaptive.media.*.jar files from osgi/modules

      2) Create a new site "Export Site".

      3) On this site, add a document from Content > Documents and Media.

      4) Export the private and public pages as lars. (Control Panel>Export Site>Publishing>export>custom export)

      5) Create a new Site "Import Site".

      6) Import either the public or private pages.  It should work properly. (Control Panel>Import Site>Publishing>import)

      7) Try to import the other lar.

      EXPECTED RESULTS
      Second lar imports successfully 

      ACTUAL RESULTS
      Import fails. Error log attached.

      BRANCH
      Reproduced
      65bed484ddcb39a582655adfc3e8bafc95f49791

      MASTER
      Reproduced (after deleting adaptive media jar files)
      645b9b09f023039a10cb2d9555e962c5c31f874f

      Attachments

        1. 73857_2.png
          73857_2.png
          28 kB
        2. 73857.png
          73857.png
          27 kB

        Activity

          People

            sylvia.luan Sylvia Luan
            christopher.kian Christopher Kian
            Austin Chiang Austin Chiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 43 weeks, 4 days ago

              Packages

                Version Package
                7.0.0 DXP FP27
                7.0.X EE
                7.0.4 CE GA5
                7.1.X
                Master