Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): James Moberg / James Moberg (James Moberg)
Created: 05/07/2013
Components: Language
Versions: 9.0.1
Failure Type: Non Functioning
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 1
Problem Description: When using isNull() on data returned from a query, isNull() will return TRUE for all values.
Steps to Reproduce: Perform a query with NULL and non-NULL values. CFDump will indicate "[empty string]" only for NULL values, but isNull() performed on values will indicate that they are empty.
Actual Result: TRUE for all values
Expected Result: TRUE only for NULL values.
Any Workarounds: Use Java since ColdFusion is broken and doesn't work as advertised.
<CFSET Request.testNull = GetResult.GetString("ResultColumn")>
<CFIF NOT StructKeyExists(Reques, "testNull")>NULL<CFELSE>Not NULL</CFIF>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3556075
External Customer Info:
External Company:
External Customer Name: Jamo
External Customer Email:
External Test Config: My Hardware and Environment details: ColdFusion 9,0,1,274733 (64bit)
Tried it on ColdFusion 10,0,9,284568 (64bit) and it didn't work either.
Attachments:
Comments: