tracker issue : CF-3508651

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

Bug in writeDump() / CFDUMP with non-contiguous-numerically-keyed argumentcollection

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/NotABug

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

Created: 02/28/2013

Components: Debugging, CFDump

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Windows 7 64-bit

Vote Count: 0

Related Bugs:
CF-3506225 - Similar to


Problem Description:
writeDump() / <cfdump> has a bug when dumping arguments passed to a function via argumentcollection, where the arguments have non-contiguous numeric key names

This is alluded to in https://bugbase.adobe.com/index.cfm?event=bug&id=3506225, but only tangentially. It's a distinct bug from the data-corruption Dale is seeing.

Steps to Reproduce:
<cfscript>
void function f(){
	writeDump(arguments);
}

f(argumentcollection={1="one", 3="three"});
</cfscript>


Actual Result:
Variable KEYVALUE is undefined.

Expected Result:
It not to error

Any Workarounds:
Use Railo (it does not have this bug)

ALSO OCCURS IN CF 9.0.2

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

Watson Bug ID:	3508651

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

Attachments:

Comments:

The reason why this is happening is the same as that of bug #CF-3506225. We consider numeric argument names as indexes for the argumentcollection. So it will either be data corruption if the specified index is available in the argumentcollection or an 'undefined' exception.
Comment by Himavanth R.
16131 | September 18, 2013 12:54:04 AM GMT