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

Navigation portlet's Application Display Template breaks after import between environments

    Details

    • Fix Priority:
      2

      Description

      If a Site Navigation portlet is configured to use a custom Application Display Template (ADT) and the site's public pages are exported to a LAR, then the Site Navigation portlet will fail to find the ADT after import.

      The ADT is successfully imported into the new environment, and since the configuration for the portlet can still be accessed, it can simply be selected again to fix the portlet, but it cannot be found until this is done.

      Steps to reproduce:

      1. Set up two Liferay instances
      2. On one instance, create a new site with a new public page
      3. On the new page, enter the Site Navigation portlet's Configuration menu, then click "Manage Display Templates for <Site Name>"
      4. Add a new Application Display Template (enter in some sample text for the script so it can be identified when displayed)
      5. Select the new ADT under "Display Template" in the Site Navigation's configuration, then click "Save" and close the popup
      6. Export the site's public pages to a LAR
      7. On the other Liferay instance, create a new site, and import the LAR to public pages
        Expected result: the import is successful and the Site Navigation portlet displays the correct ADT properly
        Actual result: the import is successful, but the Site Navigation portlet's display is broken (the portlet itself is invisible unless the mouse hovers over where it should be), and in the configuration menu, a default ADT appears to be selected.

      Reproduced in ee-7.0.x: da88760b99a41cfa12faa4f4aea88e1649850475

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alec.shay Alec Shay
              Reporter:
              alec.shay Alec Shay
              Participants of an Issue:
              Recent user:
              Michael Saechang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 46 weeks, 5 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP26
                  7.0.X
                  Master