Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001327 [Resin] major always 09-03-06 09:55 09-05-06 14:33
Reporter slonopotamus View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.21
Summary 0001327: Invalid handling of nonexistent properties in EL expressions
Description JavaServer Pages 2.0 Specification, JSP.2.3.4 Operators "[]" and "."
-----
To evaluate expr-a[expr-b]:
? Evaluate expr-a into value-a
? If value-a is null, return null.
? Evaluate expr-b into value-b
? If value-b is null, return null.
? If value-a is a Map, List, or array:
 ...
? Otherwise (a JavaBeans object), coerce value-b to String
 ? If value-b is a readable property of value-a, as per the JavaBeans specification:
  ? If getter throws an exception: error
  ? Otherwise: return result of getter call
 ? Otherwise: error.
-----
If expr-a is a JavaBean and expr-b is a nonexistent property of that bean then error should occur. Tomcat and SJAS do so. But Resin silently returns null instead.
Additional Information Steps to reproduce:
1) Deploy http://slonopotamus.org/nonexistent-property-bug.war [^] to Resin.
2) Open test.jspx page.
Attached Files

- Relationships

- Notes
(0001499)
ferg
09-05-06 14:33

jsp/30c2
 

- Issue History
Date Modified Username Field Change
09-03-06 09:55 slonopotamus New Issue
09-03-06 10:01 slonopotamus Issue Monitored: slonopotamus
09-05-06 14:33 ferg Note Added: 0001499
09-05-06 14:33 ferg Assigned To  => ferg
09-05-06 14:33 ferg Status new => closed
09-05-06 14:33 ferg Resolution open => fixed
09-05-06 14:33 ferg Fixed in Version  => 3.1.0
09-05-06 14:33 ferg Description Updated


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