Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1327 | major | always | 09-03-06 09:55 | 09-05-06 14:33 | |
|
|||||
Reporter: | slonopotamus | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.21 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.0 | ||
|
|||||
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. |
||||
Steps To Reproduce: | |||||
Additional Information: |
Steps to reproduce: 1) Deploy http://slonopotamus.org/nonexistent-property-bug.war [^] to Resin. 2) Open test.jspx page. |
||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|