farcrycore / core

FarCry Core: a web app framework for the ColdFusion language (supporting Lucee & Adobe ColdFusion engines). An ideal platform for building bespoke or tailor made solutions.
http://www.farcrycore.org
GNU General Public License v3.0
34 stars 20 forks source link

Bulk Upload Fails if there is a ftSizeLimit on the SourceImage #106

Open PhillipRasmussen opened 10 months ago

PhillipRasmussen commented 10 months ago

The referenced stFile.fileSize doesn't exist because stFile is an empty struct. This error only occurs when bulk uploading files to a type where the image has a ftSizeLimit (eg on the SourceImage of dmImage). image

PhillipRasmussen commented 10 months ago

I've just tested with S3 and it doesn't work, but this does. <cfif arguments.sizeLimit and arguments.sizeLimit lt getFileInfo(arguments.localfile).size>