[MGNLGROOVY-12] Ability to override default variables Created: 01/Feb/10  Updated: 25/Nov/13  Resolved: 15/Feb/10

Status: Closed
Project: Magnolia Groovy Module
Component/s: console, integration
Affects Version/s: 1.0
Fix Version/s: 1.0

Type: Improvement Priority: Major
Reporter: Magnolia International Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

I would expect the following to return 'config':

mgnl> hm.getName()
===> website
mgnl> hm = ctx.getHierarchyManager('config')
===> info.magnolia.cms.core.DefaultHierarchyManager@10508cb2
mgnl> hm.getName()
===> website

Looks like the default variable are set after my script is parsed, or something.


Generated at Mon Feb 12 05:54:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.