[
http://jira.magnolia-cms.com/browse/MGNLGROOVY-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Grilli resolved MGNLGROOVY-12.
---------------------------------------
Fix Version/s: 1.0 M2
(was: 1.1)
Resolution: Fixed
> Ability to override default variables
> -------------------------------------
>
> Key: MGNLGROOVY-12
> URL: http://jira.magnolia-cms.com/browse/MGNLGROOVY-12
> Project: Magnolia Groovy Module
> Issue Type: Improvement
> Components: console, integration
> Affects Versions: 1.0 M1
> Reporter: Grégory Joseph
> Assignee: Federico Grilli
> Fix For: 1.0 M2
>
>
> I would expect the following to return 'config':
> {code}
> mgnl> hm.getName()
> ===> website
> mgnl> hm = ctx.getHierarchyManager('config')
> ===> info.magnolia.cms.core.defaulthierarchymana...@10508cb2
> mgnl> hm.getName()
> ===> website
> {code}
> Looks like the default variable are set after my script is parsed, or
> something.
--
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]>
----------------------------------------------------------------