Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Dave Levin / ()
Created: 10/25/2018
Components: Language, Functions
Versions: 2016,11.0,2018
Failure Type: Non Functioning
Found In Build/Fixed In Build: latest / CF2016U12,CF2018U5
Priority/Frequency: Normal / All users will encounter
Locale/System: ALL / Windows 10 64 bit
Vote Count: 6
Problem Description:
Referencing a variable in a nested structure generates an exception error:
Steps to Reproduce:
https://trycf.com/gist/044ee4daf84fe98fbaa5aed6fc3e6b65/acf2018?theme=monokai
OR
<cfoutput>
<cfloop array="#['apples', 'oranges', 'bananas']#" item="a">
#renderView(
view = "location/myView",
args = {
fruit = a
}
)#
</cfloop>
<cfscript>
function renderView() {
writeDump( arguments );
}
</cfscript>
</cfoutput>
Actual Result:
"Variable A is undefined. on line 7"
Expected Result:
It should be able to know what A is.
Any Workarounds:
Assemble the nested structure first.
Attachments:
Comments: