Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6
-
None
-
None
-
None
-
Operating System: All
Platform: PC
-
29772
Description
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.