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=28358>.
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=28358





------- Additional Comments From [EMAIL PROTECTED]  2005-01-27 22:35 -------
Created an attachment (id=14119)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14119&action=view)
[PATCH] BeanUtislBean - fix for problem identified by Wendy Smoak


This patch fixes the "IllegalArgumentException - argument type mismatch" issues
identified by Wendy Smoak that I described above.

Basically it changes the BeanUtilsBean setProperty() method to only use the
getIndexedPropertyType() from IndexedPropertyDescriptor if an "element" of an
indexed property is being set. Does this by checking if a value of the index
has been identified from the property name (i.e. if index >=0). If not then it
now uses the PropertyDescriptor's getPropertyType() method as per regular
properties.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to