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

ContentNodeIterator: loopStatus.last throws a NPE if end is not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.5 RC3
    • 3.5 RC2
    • taglibs
    • None

      in ContentNodeIterator LoopTagStatus the mwthod isLast always uses the value from the tag attribute "end", which is optional:

      public boolean isLast()

      { return count + begin == end.intValue(); }

      This leads to a NPE every time isLast() is called if the "end" tag attribute is not set.

        Acceptance criteria

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: