Details
-
Bug
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
1.8.3
-
Windows 7 64bit.
Description
in edition 1.8.3 of the BeanUtilsBean's setProperty method, line 962, when judging if the bean has no writing method, it will return and don't process the setting method, what the codes have been written were:
} else if (key != null) {
if (descriptor.getReadMethod() == null) {
if (log.isDebugEnabled())
return; // Read-only, skip this property setter
}
type = (value == null) ? Object.class : value.getClass();
}