-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.0.X, 7.1.X, Master
-
Fix Version/s: Master
-
Component/s: Pages > Page Administration
-
Labels:None
-
Fix Priority:3
-
Git Pull Request:
Steps to reproduce:
- 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)}
- 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.
- relates
-
LPS-88060 layout.isPortletEmbedded(...) is not working for embedded portlets in a layout template
- Verified