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

MgnlGroovyNode iterator() and getChildren() double the number of items

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.5
    • 1.2.4
    • None
    • None
    • Yes

    Description

      This is a bug introduced with 1.2 where, if you had i.e. a structure like this

        
      + mynode (mgnl:contentNode)
       + subnode1 (mgnl:contentNode)
       + subnode2 (mgnl:contentNode)
      

      using the "syntax sugar" mynode.children or mynode.each in a script would double the number of elements returned.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD