commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37066] - [el] Properties with second letter upper case are not resolved
Date Thu, 15 Feb 2007 11:40:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37066>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37066





------- Additional Comments From jonathan-j.gray@ubs.com  2007-02-15 03:40 -------
This is happening because in BeanInfoManager.initialize(...) method when adding 
properties to the propertyByName cache, the name of the property is gotten from 
the property descriptor.  There are rules about this name documented in the 
javadoc on Introspector.decapitalize(...) which basically states that anything 
with the second letter means the first letter will stay a capitalized.  This 
means that with a property named 'aThing' the BeanInfoProperty will be stored 
in the propertyByName map with the key 'AThing' but will be searched for with 
the key 'aThing'.  This, of course, causes problems.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message