Uploaded image for project: 'Magnolia Groovy Module'
  1. Magnolia Groovy Module
  2. MGNLGROOVY-12

Ability to override default variables

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0
    • 1.0
    • console, integration
    • None

      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.

        Acceptance criteria

              fgrilli Federico Grilli
              gjoseph Magnolia International
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD