tracker issue : CF-3040736

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

Bug 81481:result attribute in cffile cannot be in local scope, otherwise the result is a array with 1 null element

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)

Created: 01/06/2010

Components: Language, Tags

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 274267

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Problem:

result attribute in cffile cannot be in local scope, otherwise the result is a array with 1 null element.
Method:

<cffunction name="test">  <cffile action="uploadall" destination="C:/" result="local.resultVar">  <cfdump var="#local.resultVar#" output="C:/dump.txt"></cffunction>dump.txt:[undefined array element] Element 1 is undefined in a Java object of type class coldfusion.runtime.Array.
Result:

[undefined array element] Element 1 is undefined in a Java object of type class coldfusion.runtime.Array.

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

Watson Bug ID:	3040736

Deployment Phase:	Release Candidate

External Customer Info:
External Company:  
External Customer Name: Henry Ho
External Customer Email: 237A22C24921EDF5992015B9
External Test Config: 01/06/2010

Attachments:

Comments: