Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Bob Silverberg / Bob Silverberg (Bob Silverberg)
Created: 09/07/2009
Components: ORM Support
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 1
Duplicate ID: CF-3039803
Problem:
validate/type attributes of cfproperty tag won't work with nulls.If you specify a type="date" or validate="date" ORtype="boolean" or validate="boolean", etc.And you then try to pass a NULL into the setter, you get a ColdFusion error, because CF is trying to convert the NULL into a date/boolean/etc.This makes it impossible to use this feature if you also have a property that can be set to NULL. Ideally CF would allow for NULLs in this situation. The workaround is to simply not use the validate attribute.
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039923
External Customer Info:
External Company:
External Customer Name: Bob Silverberg
External Customer Email: 5AD606C248A4C7F0992015A9
External Test Config: 09/07/2009
Attachments:
Comments: