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

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

    Details

    • Type: Regression Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: Core Infrastructure
    • Labels:
    • Story Points:
      0.25
    • Fix Priority:
      3

      Description

      Steps to reproduce

      1. Deploy the attached sample-layout-template-7.2.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:
                0 Start watching this issue

                Dates

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