-
Bug
-
Resolution: Fixed
-
Neutral
-
6.2.16
-
None
-
-
Empty show more show less
-
AuthX 13
-
5
Steps to reproduce
- Edit a page yaml to have a main area (called mainArea for this example) with type noComponent and a child area (called htmlHeader) with type noComponent
- On the page FTL, set the content attribute as follows:Â
basic.ftl
[@cms.area name="mainArea" content=content/]
- Now at mainArea FTL, pass the content attribute to the child area (htmlArea):
mainArea.ftl
[@cms.area name="htmlHeader" content=content/]
- Finally, on the htmlHeader file, consume the content:
htmlHeader.ftl
<div> This is an htmlHeader area - cannot add components but we can consume some field from dialog <br/> field value : ${content.htmlHeaderTitle} </div>
- Check that the value is properly printed but if you clic on the area, no actions are shown on the action bar.
Expected results
Actions are shown on the action bar
Actual results
Only Edit page properties and Preview page actions are available
Workaround
N/A
Development notes
Investigation lead us to confirm that it happens because area action bar is only available when a mgnl:area node takes part. Therefore, when passing the content attribute of a noComponent type area, which doesn't have the corresponding mgnl:area node, this section is not visible.Â
It wasn't happening on Magnolia 5.X
Acceptance criteria