Anonymous | Login | Signup for a new account | 12-17-2024 08:54 PST |
Main | My View | View Issues | Change Log | Docs |
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 | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 26 unique queries executed. |