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

DocumentLibrary and DLDisplay preferences aren't export/imported correctly if data is not exported/imported

    Details

      Description

      Steps to reproduce:

      1. Create a site with a page
      2. Create a Documents and Media folder
      3. Place Document Library Display portlet on the page (eg. RootFolder)
      4. Export site
      5. Import to an other instance
      6. Now on the original site set the DLDisplay portlets root folder to RootFolder
      7. Export site with the Data checkbox unchecked
      8. Import it again.

      Result: The on the imported site DLDisplay portlets says it's temporary unavalible. It's because it got updated with wrong rootFolderId in the import process.

      On master and 6.2.x export of referenced data is handled in a way that is not backportable, and the issue is not reproducible there.

      Soultion: switch referred classPKs in the exported preferences to UUID. This way we will be able to identify the referred data on the target environment.

      Note: Solution involves making the sam changes on Documents and Media Portlet to keep consistency.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              haoliang.wu Haoliang Wu (Inactive)
              Reporter:
              norbert.kocsis Norbert Kocsis (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 41 weeks, 1 day ago

                  Packages

                  Version Package
                  6.1.X EE