DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23558>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23558 Problem with BeanUtils.setProperty when the name of property of Bean have on second caracter a uppercase Summary: Problem with BeanUtils.setProperty when the name of property of Bean have on second caracter a uppercase Product: Commons Version: Nightly Builds Platform: PC OS/Version: Windows XP Status: NEW Severity: Blocker Priority: Other Component: Bean Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have a bean with one property hEmail. I fact the Bean have these methods setHEmail(String hEmail) and getHEmail(). There is a problem with these instruction : BeanUtils.setProperty(bean, "hEmail", new String("dupond")); or BeanUtils.copyProperty(bean, "hEmail", new String("dupond")); The property hEmail does not contain "dupond" after this instruction. If I check my property name with the command : String name = new PropertyUtilsBean().getPropertyDescriptors(mainBean)[0].getName(); The result of name is HEmail (not hEmail) Info : if I change the property of bean hEmail by hemail there is also no problem. I fact I think there is a problem with the command PropertyUtilsBean().getPropertyDescriptors(mainBean), that don't return correctly the property of the bean when the name of property have on second character a uppercase. Version JVM : 1.4.2-b18 or 1.4.1_02-b06 Version BeanUtils (Nightly Builds) v1.6.1 2003-10-01 Best regards --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]