[ http://jira.magnolia.info/browse/MAGNOLIA-1911?page=all ]
Fabrizio Giustina resolved MAGNOLIA-1911. ----------------------------------------- Resolution: Fixed fixed, unit test added > ContentNodeIterator: loopStatus.last throws a NPE if end is not set > ------------------------------------------------------------------- > > Key: MAGNOLIA-1911 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1911 > Project: Magnolia > Issue Type: Bug > Components: taglibs > Affects Versions: 3.5 RC2 > Reporter: Fabrizio Giustina > Assigned To: Fabrizio Giustina > Fix For: 3.5 RC3 > > > 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. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------