Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 03/24/2012
Components: File Management
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Public Beta /
Priority/Frequency: Minor / Some users will encounter
Locale/System: English / Win All
Vote Count: 0
When file overwriting is not enabled in fileUpload(), then the exception mentions "cffile tag".
Repro:
<cfscript>
if(structCount(FORM)) {
fileUpload(expandPath('.'));
}
</cfscript>
<cfform enctype="multipart/form-data">
<cfinput type="file" name="filedata" />
<cfinput type="submit" name="upload" />
</cfform>
Steps: Submit the same file twice.
Error: "FileOverwriteException - File overwriting is not permitted in this instance of the cffile tag."
It shouldn't say "cffile tag", b/c this is fileUpload(). It should probably say: "File overwriting was not enabled."
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3148661
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: