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=21238>. 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=21238 ConvertUtilsBean should use defaultValue for all converters Summary: ConvertUtilsBean should use defaultValue for all converters Product: Commons Version: 1.0 Alpha Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Bean Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Consider a java.sql.Timestamp that is nullable in the database. An EJB would return it as null whereas a DynaForm might convert that into a String null. To save that back to the EJB as a null String using BeanUtils.copyProperties will end up calling ConvertUtilsBean which gets a SQLTimestampConverter using the default constructor (no default value). This will cause a ConversionException "No value specified" and, therefore, not allow null values to be saved back to the EJB. This will effect all converters that do not use a defaultValue. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
