Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000886 [Resin] major always 01-19-06 15:00 01-24-06 21:48
Reporter anonymous View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform Linux
Status closed   OS Suse
Projection none   OS Version 9.3 / 10.0
ETA none Fixed in Version 3.0.18 Product Version 3.0.17
  Product Build Pro
Summary 0000886: JSTL forEach tag variable affects variables with the same name with a wider scope
Description At the end of the JSTL forEach loop the variable used is apparently unset at at the page level. The example detailed in the 'Additional Information' seeks to explain the effect.

The example executes successfully in Resin 3.0.14, but fails in Resin 3.0.17.

Reproduced on Suse 9.3/10.0 using JDK 1.5.0_6
Steps To Reproduce // 'issues' collection and 'issue' object being set.

${issue.title} // Renders successfully

// iterating through issues collection
<c:forEach items="${issues}" var="issue">
${issue.property}
</c:forEach>

${issue.title} // Renders nothing.
Additional Information
Attached Files

- Relationships

- Notes
(0000746)
anonymous
01-19-06 15:03

// 'issues' collection and 'issue' object being set.

${issue.title} // Renders successfully

// iterating through issues collection
<c:forEach items="${issues}" var="issue">
${issue.property}
</c:forEach>

${issue.title} // Renders nothing.
 

- Issue History
Date Modified Username Field Change
01-19-06 15:00 anonymous New Issue
01-19-06 15:03 anonymous Note Added: 0000746
01-24-06 21:48 ferg Assigned To  => ferg
01-24-06 21:48 ferg Status new => closed
01-24-06 21:48 ferg Resolution open => fixed
01-24-06 21:48 ferg Fixed in Version  => 3.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker