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

DL Display fails on Export/Import when the configured folder is different than root

    Details

      Description

      Steps to reproduce:

      1. Create a Blank Site: SiteA
      2. From Control Panel> D. & Media > Add new folder: folderA
      2.1 Add a documentA to folderA
      3. From Control Panel> Site Pages: Add new page: home
      4. Add DLDisplay portlet to the home page and select the root folder: folderA from portlet configuration.
      5. From Control Panel> Site Pages - Select page and Export page with default options and range all.

      In other server:
      6. Create a Blank Site: Site B
      7. From Control Panel> Site Pages: Import the LAR result of the step #5.

      The lar is imported, but if you visit the page DL Display fails with exceptions:

      07:05:22,909 ERROR [com.liferay.portal.layoutconfiguration.util.RuntimePageImpl-2][IncludeTag:205] Current URL /web/guest/home generates exception: javax.servlet.ServletException: com.liferay.portal.NoSuchRepositoryEntryException: No RepositoryEntry exists with the primary key 10448
      07:05:22,912 ERROR [com.liferay.portal.layoutconfiguration.util.RuntimePageImpl-2][IncludeTag:154] com.liferay.portal.NoSuchRepositoryEntryException: No RepositoryEntry exists with the primary key 10448
      at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:2618)
      at com.liferay.portal.service.persistence.RepositoryEntryPersistenceImpl.findByPrimaryKey(RepositoryEntryPersistenceImpl.java:2635)

      Expected:

      The DM Display Portlet must display the same data that in the original server.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 12 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.30 EE GA3