-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
5.1
-
None
Opening this ticket because i'm not sure this is by design. Although it can be useful as is.
this.areaNode = getPassedContent(); if (this.areaNode != null) { this.areaPath = getNodePath(areaNode); } else { // will be null if no area has been created (for instance for optional areas) // current content is the parent node Node parentNode = currentContent(); this.areaNode = tryToCreateAreaNode(parentNode); this.areaPath = getNodePath(parentNode) + "/" + name; }
getPassedContent() only returns non-null when [@area content=… /]
Acceptance criteria
- is related to
-
MAGNOLIA-4482 Adding additional autogenerated areas/components does not work for existing pages
- Closed