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

Dynamic Data Lists Display portlet configuration does not retrieve DDMTemplates from Global site

    Details

      Description

      The Dynamic Data List Display portlet's "Optional Configuration" options to select a Display or Form template for the selected list only show options for the current site's templates, not the Global site's or parent sites' templates.

      Steps to reproduce:

      1. In Global site, navigate to: Contents > Dynamic Data Lists
      2. ⋮ button > Manage Date Definitions
      3. + button > Add > New Data Definition > create a new data definition
      4. ⋮ button (on the right side of the definition created in step 3) > Manage Templates
      5. Add Display Template > set up template > Save
      6. Add Form Template > set up template > Save
      7. Create a new blank site named "NewSite"
      8. In NewSite, navigate to: Contents > Dynamic Data List
      9. + button > Add > select "Data Definition" created in step 3 > Save
      10. Select the list created in step 9 > + button > Add > Publish
      11. Add a public page to NewSite
      12. Go to NewSite's public page and add a Dynamic Data List Display portlet to the page
      13. Go to the DDL Display portlet's Configuration and select the list created in step 9, and save the configuration
      14. In the "Optional Configuration" tab, check the drop-down menus for Display Templates and Form Templates

      Expected result: the Form Template and Display Template from the Global site can be selected
      Actual result: the Form Template and Display Template from the Global site are not listed in the drop-down menus

      Reproduced in master: 44fbba759fa8cc88faef2406168d9967eec810dc
      Reproduced in ee-7.0.x: 712ada6d6efd0b94bf5c4e40f87adb40e3e6f337

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          26 kB
        2. Fixed70.PNG
          Fixed70.PNG
          24 kB

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP15
                  7.0.3 CE GA4
                  7.0.0 DXP SP4
                  7.0.X EE
                  7.1.X
                  Master