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

Ability to override default variables

    XMLWordPrintable

Details

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

    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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD