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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to