You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/06/24 01:22:21 UTC
DO NOT REPLY [Bug 29772] New: -
DateLocaleConverter does NOT return a default value if a conversion error occurs
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=29772>.
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=29772
DateLocaleConverter does NOT return a default value if a conversion error occurs
Summary: DateLocaleConverter does NOT return a default value if a
conversion error occurs
Product: Commons
Version: 1.6 Final
Platform: PC
URL: http://jakarta.apache.org/commons/beanutils/apidocs/inde
x.html
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Bean Utilities
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: quinten.miller@mcri.edu.au
The org.apache.commons.beanutils.locale.converters.DateLocaleConverter does not
return a default value even when the object is constructed with a default
value.
The reason for the exception being thrown lies within the BaseLocaleConvert
class that DateLocaleConverter extends. I checked the source of
BaseLocaleConvert and found that the boolean Default is set to false with this
comment... Should we return the default value on conversion errors? There is no
method supplied within the any of the subclasses that allows this boolean to be
set.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org