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

Application Display Templates can be created from Page Templates

    Details

      Description

      When an Application Display Template is created from a Page Template via the configuration for a portlet on the page, the template is saved within the Page Template's scope. This causes the displayStyleGroupId to not behave correctly when the template and pages based on it are imported to separate environments. Application Display Templates should avoid using the Page Template's scope, and shouldn't be allowed to be added from Page Templates at all.

      Steps to reproduce:

      1. Create a Page Template
      2. From the Page Template, add a portlet (such as the Site Map portlet)
      3. Go to the configuration for the added portlet, note the "Manage Display Templates for <Page Template>" option next to the drop-down menu

      Expected result: there should not be a button for managing Application Display Templates for the Page Template
      Actual result: the "Manage Display Templates for <Page Template>" button is present, and templates can be added to the Page Template's scope

        Attachments

        1. 70.png
          70.png
          34 kB
        2. fix62.png
          fix62.png
          50 kB
        3. master.png
          master.png
          25 kB
        4. reporduce.png
          reporduce.png
          24 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master