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=23815>. 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=23815 [beanutils]PropertyUtils.getNestedProperty() doesn't allow getXxxx on Map-Instances any longer ------- Additional Comments From [EMAIL PROTECTED] 2004-07-12 00:26 ------- I just thought I would document better the change in behaviour I am proposing to make. 1) Change the getSimpleProperty and setSimpleProperty methods so that if a "regular" property doesn't exist, it checks if the bean is a map and if it is, sets the mapped property (as requested in Bug 26904). 2) setNestedProperty already did the above for Maps (first checking if a "regular" property existed, otherwise setting the mapped property) but since I added this behaviour to setSimpleProperty I changed it to just call setSimpleProperty - should be no difference in behaviour from this change. 3) getNestedProperty was inconsistent with setNestedProperty - for Maps it just returned the mapped property. I changed it to call getSimpleProperty (which now checks first for "regular" property and then for mapped) so that it behaves in the same way as setNestedProperty. Although I have attached a patch to show the changes I propose - I am also proposing another change to PropertyUtilsBean in Bug 28813 and that patch also incorporates this change - I propose to apply that patch. Niall --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]