tracker issue : CF-3148661

select a category, or use search below
(searches all categories and all time range)
Title:

fileUpload() exception says "this instance of the cffile tag"

| View in Tracker

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

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on February 16, 2019 using build 2016.0.01.298513
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:

Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
30280 | February 16, 2019 07:15:38 AM GMT