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

layout.isPortletEmbedded(...) is not working for embedded portlets in a layout template

    Details

      Description

      Steps to reproduce

      1. Deploy the attached sample-layout-template.war which has two embedded portlets
      2. Create a /page1 in the default site and apply the sample-layout-template to it.
      3. Go to the /page1 and check that the embedded portlets are displayed (important this steep is mandatory in order to precreate the configuration/preferences for that portlets in data base)
      4. From Control Panel > Server Administration > Script, run the attached groovy script.
        Observed: layout.isPortletEmbedded is returning false for both embedded portlets
        Expected: layout.isPortletEmbedded is returning true for both embedded portlets

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  4 weeks ago

                  Packages

                  Version Package
                  7.1.10 DXP FP9
                  7.1.10.2 SP2
                  7.1.3 CE GA4
                  7.1.X
                  Master