Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Darren Pywell / Darren Pywell (dapywell)
Created: 03/09/2016
Components: Language
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: RC1_v12 /
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Mac All
Vote Count: 2
Problem Description:
When using a cfloop to iterate over a query that has been defined as a var function local, the iteration ends early if the function local variable is used in recursive way.
The behaviour has been tested against ColdFusion 10,11 and 2016. CF10 and 11 output the expected result using the same file.
Steps to Reproduce:
Run the attached page
Actual Result:
/root/1
/root/1/1
Expected Result:
root/1
/root/1/1
/root/2
/root/2/2
/root/3
/root/3/3
/root/4
/root/4/4
/root/5
/root/5/5
/root/6
/root/6/6
/root/7
/root/7/7
/root/8
/root/8/8
/root/9
/root/9/9
/root/10
/root/10/10
Any Workarounds:
None
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126393
External Customer Info:
External Company: Intergral
External Customer Name: Darren Pywell
External Customer Email: DARREN_PYWELL@INTERGRAL.COM
External Test Config:
Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\RC1_v12\4115255\test.cfdirectory.cfm
Attachments:
Comments: