Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 05/20/2018
Components: Debugging, CFDump, Language, Null Support
Versions: 2018
Failure Type: Incorrectly functioning
Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / 2018,0,0,309819
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Platforms All
Vote Count: 0
Issue: dump displays local scope as [undefined struct element]
Steps to Reproduce:
1) Enable NULL support
2) Run:
<cfscript>
function f() {
myVar = NULL//if this isn't commented-out, r is displayed as [undefined struct element]
return local
}
r = f()
writeDump(variables)
</cfscript>
Actual Result:
-----------
struct
F: [function]
Arguments: none
ReturnType: Any
Roles:
Access: public
Output:
DisplayName:
Hint:
Description:
MYVAR: [null]
R: [undefined struct element]
-----------
Expected Result:
-----------
struct
F: [function]
Arguments: none
ReturnType: Any
Roles:
Access: public
Output:
DisplayName:
Hint:
Description:
MYVAR: [null]
R: [struct]
ARGUMENTS: [struct]
THIS: [null]
-----------
Related post: http://blog.cfaether.com/2018/05/dump-displays-local-scope-as-undefined.html
Attachments:
Comments: