Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4462 | minor | always | 03-28-11 15:24 | 04-06-11 13:12 | |
|
|||||
Reporter: | jhartline | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 4.0.10 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.17 | ||
|
|||||
Summary: | 0004462: Unable to access public getter from JSP when a method with the same name and a single int parameter exists. | ||||
Description: |
When accessing bean methods in a java bean, a javax.el.PropertyNotFoundException is thrown if there is a method that has the same name as the requested method but contains a single int parameter. eg.. A bean containing the following methods... getFoo() { return foo; } getFoo(int id) { return foos[id]; } will fail when accessed like so.. (in a JSP file that has been somehow passed an instance of the bean) ${myBean.foo} with a javax.el.PropertyNotFoundException I've constructed similar scenarios and it seems that this only occurs with ints. I've not exhaustively tested primitives, but float and double seem to work as well as all the Object parameters I've tested with. This seems to happen for every instance of this that I've tried. (fully reproducible) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|