Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004462 [Resin] minor always 03-28-11 15:24 04-06-11 13:12
Reporter jhartline View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.10
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.


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)
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)
Additional Information
Attached Files

- Relationships

- Notes
04-06-11 13:12


- Issue History
Date Modified Username Field Change
03-28-11 15:24 jhartline New Issue
04-06-11 13:12 ferg Note Added: 0005166
04-06-11 13:12 ferg Assigned To  => ferg
04-06-11 13:12 ferg Status new => closed
04-06-11 13:12 ferg Resolution open => fixed
04-06-11 13:12 ferg Fixed in Version  => 4.0.17

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