tracker issue : CF-3787245

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

Cfdump doesn't display values of empty struct keys

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Bradley Wood / Bradley Wood (Bradley Wood)

Created: 07/09/2014

Components: Debugging, CFDump

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Minor / All users will encounter

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 1

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on May 17, 2018 using build 2016.0.01.298513
Problem Description:
If a struct has an entry with an empty string for the key, the value is not displayed when dumping the struct.

Steps to Reproduce:
<cfdump var="#{ '' = 'foo' }#">

Actual Result:
The text foo is not displayed

Expected Result:
The text foo should display

Any Workarounds:
Build your own dump function/tag

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

Watson Bug ID:	3787245

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



+1 ......................
Vote by External U.
11674 | November 16, 2014 01:34:59 AM GMT
In dump.cfm, we were having check that if the keynamelength > 0, then only print the value. Removed the check from both HTML and text format.
Comment by Paul N.
11672 | November 17, 2014 08:29:51 AM GMT
Fix verified. Will be available in the next version of ColdFusion.
Comment by S P.
11673 | December 16, 2014 01:36:55 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
27833 | May 17, 2018 06:57:00 AM GMT