Assigning a value to a node data only works when the node data preceded by the
@ sign
-------------------------------------------------------------------------------------
Key: MGNLGROOVY-25
URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-25
Project: Magnolia Groovy Module
Issue Type: Bug
Components: integration
Affects Versions: 1.0
Reporter: Federico Grilli
Assignee: Federico Grilli
Fix For: 1.1
E.g. this would work:
{{path....@mynode = 'foo'}}
and would even create the property if the missing whilst
{{path.to.mynode = 'foo'}}
would fail, because currently it erroneously attempts to delegate the setting
to the groovy metaclass mechanism. In other words, it tries to set the node
data value on the {{MgnlGroovyNode}} instance itself and looks via reflection
for a class field named after the node data.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------