Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.3
-
None
Description
Every LocaleConverter derived from BaseLocaleConverter allows specifying a default value. If configured correspondingly, this default value is returned if a null value is to be converted or if a conversion error occurs.
The type of the default value is Object; it is not checked whether the type is compatible with the desired target type. So if an invalid object is set as default value, the converter will return unexpected results.