tracker issue : CF-4157592

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

Do not evaluate value if null=tue on CFQUERYPARAM

| View in Tracker

Status/Resolution/Reason: To Fix//Investigate

Reporter/Name(from Bugbase): Christopher Tierney / Christopher Tierney (Christopher Tierney)

Created: 05/25/2016

Components: Database

Versions: 2016

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF2016_Update1 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Windows 10 64 bit

Vote Count: 2

Currently this code:

<cfqueryparam value="#myVal#" null="true">

will still try to evaluate "myVal".

When attempting to turn off/on NULL's via if a value exists or not, for example in the arguments of a method, we have to hack together something to always make the variable exist. Otherwise the code errors with variable not found.

New Solution:

When null is true, do not evaluate the value argument.

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

Watson Bug ID:	4157592

External Customer Info:
External Company:  
External Customer Name: Christopher Tierney
External Customer Email:



Vote by External U.
2649 | June 30, 2016 12:49:19 AM GMT