Title:
cfloop over a file should take a file object as much as it should take a path
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 07/12/2015
Components: Language
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 1
Currently <cfloop file=""> only takes a file path. It should take a file object too, eg:
<cfset myFile = fileOpen(filePath)>
<cfloop index="line" file="#myFile#">
[etc]
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4019842
External Customer Info:
External Company:
External Customer Name: Adam
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: