Saturday, May 19, 2018

CF-4202534 - variable named NULL spawns in variables scope

Issue: variable named NULL spawns in variables scope

Steps to Reproduce:
1) Enable NULL support
2) Run:

  myVar = NULL

Actual Result:

MYVAR [null]
NULL [null]

Expected Result:

MYVAR [null]
Verified in build 2018.0.01.308605 (PreRelease).
Filed as CF-4202534.
Update: Issue also occurs for URL.myVar=null, FORM.myVar=null, REQUEST.myVar=null, SESSION.myVar=null, APPLICATION.myVar=null and SERVER.myVar=null. It doesn't matter what scope. A variable named `NULL` always spawns into variables scope.

No comments:

Post a Comment

ColdFusion member functions for XML object management

Prior to ColdFusion 2018, ColdFusion supported the following XML member functions : .elemNew() (equivalent of XmlElemNew ) .childPos(...