Issue Type: Bug Bug
Affects Versions: 5.1
Assignee: Unassigned
Created: 10/Oct/13 11:43 AM
Description:

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=… /]

Project: Magnolia
Priority: Neutral Neutral
Reporter: Tobias Mattsson
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to