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

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              jose.jimenez Jose Jimenez
              Participants of an Issue:
              Recent user:
              Jose Jimenez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                3 weeks, 6 days ago

                  Packages

                  Version Package