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:
- 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.