Ticket #15 (closed defect: fixed)
BINARY object does not allow null values
| Reported by: | carlo@… | Owned by: | dhughes |
|---|---|---|---|
| Type: | defect | Priority: | normal |
| Milestone: | Component: | Documentation | |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
I am using MySQL 4,
the validate method fail using a record object with a binary field (BLOB)
with value null.
I check the code in the validator object the generated funtion look like this:
<cfif NOT IsBinary(arguments.RFTRecord.getencryptedTenderPassphrase())>
<cfset arguments.ErrorCollection.addError("RFT.encryptedTenderPassphrase.invalidType") />
</cfif>
Cheers,
Piva Giancarlo.
<!--- validate ClickedStatusID is numeric --->
<cfif Len(Trim(arguments.RFTRecord.getClickedStatusID())) AND NOT IsNumeric(arguments.RFTRecord.getClickedStatusID())>
<cfset arguments.ErrorCollection.addError("RFT.ClickedStatusID.invalidType") />
</cfif>
Change History
Note: See
TracTickets for help on using
tickets.

