tracker issue : CF-3712057

select a category, or use search below
(searches all categories and all time range)
Title:

isNull() has been implemented incorrectly

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/AsDesigned

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 02/21/2014

Components: Language

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: PublicBeta /

Priority/Frequency: Major / Most users will encounter

Locale/System: English / Platforms All

Vote Count: 1

See http://cfmlblog.adamcameron.me/2014/02/expressions-and-operators-and-doing.html for information

isNull() has been implemented to perform a "does it exist?" check, not an "is it null?" check. Those are two different things. The current behaviour is incorrect and should be fixed.

-- 
Adam

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3712057

External Customer Info:
External Company:  
External Customer Name: Adam Cameron.
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

+1 - The design is flawed. Undefined <> NULL.
Vote by External U.
13370 | July 30, 2015 01:40:24 PM GMT
I'm not doubting that this is how you designed it. The issue is the design is wrong. Functions dealing with a such a fundamental concept as checking if something is null have to actually do what they claim they do. You seem to think this function is a replacement for parameterExists() or something, but it's not. It's supposed to check if an expression is null. Not that it's not defined. That it's NULL. Now reopen the bloody thing and fix it please.
Comment by External U.
13368 | July 31, 2015 12:35:00 AM GMT
It's just been brought to my attn that you have yet to follow this up properly, Adobe.
Comment by External U.
13369 | July 29, 2016 05:42:51 PM GMT