Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Henry Ho / Henry Ho (Henry Ho)
Created: 06/17/2014
Components: Language
Versions: 10.0
Failure Type: Data Loss
Found In Build/Fixed In Build: Final / CF10_Update14
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem Description:
fileUploadAll() does not work with HTML5 input multiple but <cffile action="uploadall"> works as expected.
Steps to Reproduce:
<cfdump var="#form#">
<cfif isDefined("form.sent")>
<!--- this works --->
<!---<cffile action="uploadall" destination="d:\upload\" nameconflict="makeunique" result="uploads">--->
<!--- DOES NOT work --->
<cfset uploads = fileUploadAll("d:\upload\","","makeUnique")>
<cfdump var="#uploads#">
</cfif>
<form method="post" enctype="multipart/form-data" >
<input type="file" name="audi" multiple="true">
<input type="hidden" name="sent" value="">
<button type="submit">Send</button>
</form>
Actual Result:
using fileUploadAll(), same file (first file) is processed multiple times
Expected Result:
files are processed correctly.
Any Workarounds:
use CFML
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3777301
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: henrylearn2rock
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: