Status/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Travis Walters / Travis Walters (Travis Walters)
Created: 03/09/2016
Components: File Management
Versions: 2016
Failure Type: Unspecified
Found In Build/Fixed In Build: Alpha_v12 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
I am working with a system where I am using cfdirectory as follows:
<cfdirectory directory="#ExpandPath('..\..')#\storage\data\123456789\" name="dirQuery" action="LIST" filter="1098013_1277097_0_0_0_0_1620px_1040px_*.pdf" sort="datelastmodified DESC" listinfo="name" recurse="false" />
While it would be ideal to have several sub-directories with this system that I am working with, this particular employer just wants to have all files under a single directory.
Even with the filter "1098013_1277097_0_0_0_0_1620px_1040px_*.pdf", it can return hundreds (potentially even thousands of rows).
While I can use a query of queries to retrieve the latest saved file, it would make more sense to have a maxrows parameter on the cfdirectory tag itself.
If the cfdirectory tag had a maxrows parameter, it would be a performance boost in this case.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126735
External Customer Info:
External Company:
External Customer Name: Travis Walters
External Customer Email: TWALTERS84@HOTMAIL.COM
External Test Config:
Attachments:
Comments: