fileUpload for S3 broken

Description

fileUpload() and <cffile action="upload"> are silently failing for S3 virtual file systems.

This will seemingly break out of a <script> block seemingly entirely. It skips my writeOutput() and writeDump() methods and goes straight to the proceeding HTML:

uploadFile = fileUpload( 's3://my-test', 'form.imageFile' );
writeDump(uploadFile);

This will dump out what appears to be a successful upload in the uploadFile variable dump:

<cffile action="upload" destination="s3://my-test/" filefield="form.imageFile" result="uploadFile">
<cfdump var="#uploadFile#">

The keys were set in application.cfc via:

<cfcomponent>
<cfset this.s3.accessKeyId="{key}">
<cfset this.s3.awsSecretKey = "{secret}">
</cfcomponent>

This code works just fine in Adobe ColdFusion 2016.

I noticed that if I change the S3 path to something that doesn't exist, the same silent failure occurs.

No files ever make it to the S3 bucket.

This has been confirmed on multiple machines running CommandBox. My current Java Version is 1.8.0_202 via AdoptOpenJdk 64bit.

Environment

Windows 10
CommandBox 4.7.0

Assignee

Michael Offner

Reporter

Christopher Tierney

Priority

New

Labels

Fix versions

None

Sprint

None

Affects versions

Configure