Hi all, for some reason, when the setProperty method of BeanUtils is populating an indexed property with a String array, only the first element of the input array is passed to ConvertUtils. The array is thus converted to a single String, causing an IllegalArgumentException since the setter method expects an array.
I enclose a patch for BeanUtils.java that makes sure the complete array is passed to ConvertUtils, and patches for TestBean.java and BeanUtilsTestCase.java so that they also test setting and getting indexed properties containing arrays. Regards, Tomas Viberg <[EMAIL PROTECTED]>
TestBean.java.patch
Description: Binary data
BeanUtilsTestCase.java.patch
Description: Binary data
BeanUtils.java.patch
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
