Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2804

Tag contentNodeIterator end attribute doesn't work as expected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 4.5
    • 4.1
    • taglibs
    • None

      Given:

      <cms:contentNodeIterator contentNodeCollectionName="${items}" varStatus="status" begin="2" end="5">
      ....
      </cms:contentNodeIterator>
      

      The end element isn't the fifth element, but the seventh. If I want display from second to fifth element the code will be:

      <cms:contentNodeIterator contentNodeCollectionName="${items}" varStatus="status" begin="2" end="3">
      ....
      </cms:contentNodeIterator>
      

      In other words the end attribute works like a step.

        Acceptance criteria

              fgiust Fabrizio Giustina
              cstrap Christian Strappazzon
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD