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

Remove button is available for embedded widgets/portlets in a layout template

    Details

      Description

      Steps to reproduce:

      1. Deploy the attached sample-layout-template.war or create a new layout template and add a new portlet using the $processor.processPortlet, for example:
        <#assign preferencesMap = {"displayStyle": "ddmTemplate_BREADCRUMB-HORIZONTAL-FTL", "portletSetupPortletDecoratorId": "barebone", "showCurrentGroup": "false"} />
        		${processor.processPortlet("com_liferay_site_navigation_breadcrumb_web_portlet_SiteNavigationBreadcrumbPortlet_INSTANCE_Support", preferencesMap)}
        
      2. Apply the sample-layout-template to a page, you will view an embedded breadcrumb and web content display.
        Observed: The remove option is available in the portlet menu for those embedded portlets, however if you try to remove it and reload the page, the portlet appears again.
        Expected: Remove option is not available because embedded portlets should not be removed. This is the correct behaviour present in other kind of embedded portlets, for example the embedded search or breadcrumb in the classic theme.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

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

                  Packages

                  Version Package
                  Master