[MAGNOLIA-2804] Tag contentNodeIterator end attribute doesn't work as expected Created: 30/Jun/09  Updated: 13/Mar/12  Resolved: 11/Dec/11

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: 4.1
Fix Version/s: 4.5

Type: Bug Priority: Minor
Reporter: Christian Strappazzon Assignee: Fabrizio Giustina
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MAGNOLIA-3099 ContentNodeIterator tag iterates more... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

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.



 Comments   
Comment by Frank Sommer [ 03/Nov/11 ]

In Magnolia-3099 is a patch for this problem.

Comment by Fabrizio Giustina [ 11/Dec/11 ]

see MAGNOLIA-3099

Generated at Mon Feb 12 03:40:16 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.