Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 12/08/2014
Components: Language
Versions: 9.0
Failure Type:
Found In Build/Fixed In Build: 9.0 /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 2
Repro:
<cfset a = arrayNew(1)>
<cfset a[1] ="a">
<cfset a[3] = "c">
<cfloop index="e" array="#a#">
<cfoutput>[#e#]</cfoutput>
</cfloop>
<cfscript>
for (e in a){
writeoutput("[#e#]");
}
</cfscript>
Tag version works fine; script version errors with:
Variable E is undefined.
Both should work the same.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3864256
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: