Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff ()
Created: 07/09/2017
Components: Language, CFSCRIPT
Versions: 2016,11.0,2018
Failure Type: Non Functioning
Found In Build/Fixed In Build: 2016.0.03.00357 / 2018.0.02.313021
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Win All
Vote Count: 0
cfloop() fails for list
Repro:
{code:java}
<cfscript>
theList = "1,2,3";
cfloop(list=theList, index="i") {
writeOutput(i);
}
</cfscript>
{code}
Actual Result: Exception "Attribute validation error for the loop tag.
The tag does not have an attribute called list. The valid attribute(s) are query, startrow, endrow, file, index, item, from, to, characters, charset, group, groupcasesensitive."
Expected Result: 123 (Lucee returns expected result: https://trycf.com/gist/249b02b33bce0bcf82a7256996a5ef64/lucee5?theme=monokai)
Attachments:
Comments: