Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Not a Bug
-
Affects Version/s: None
-
Fix Version/s: Release 1.6
-
Component/s: Validation
-
Labels:None
Description
Validation for required parameters passes when a parameter is not null and not empty even if the type converter returns null. It seems that if a property is marked with @Validate(required=true) then the type converter returning null should trigger a validation error.
I think this is a pretty significant issue... just b/c a value is supplied does not mean that the value is adequate from a type conversion perspective. Shouldn't we address this in 1.5.x?
--Nikolaos