File adapters cannot dynamically set file location or filename during file creation because location used may not yet exist #9556
Labels
type:bug
Impaired feature or lacking behavior that is likely assumed
New Issue Checklist
Issue Description
File adapters cannot set file location during file creation if file name will be changed during file creation. This issue has specific effects on the s3 file adapter, but may apply to any specific file adapter for the platform.
Steps to reproduce
${Date.now()}_${filename}
)Actual Outcome
Expected Outcome
Environment
~parse-server 8.0.0-alpha.6 (but should be identical on 7.3)
~@parse/s3-files-adapter 4 (but should be identical for 4)
Server
8.0.0-alpha.6
OSX
Local and Heroku
Database
MongoDB
7
MongoDB Atlas
Client
JavaScript
Unkown
Code in question is here
parse-server/src/Controllers/FilesController.js
Line 32 in 34636be
The text was updated successfully, but these errors were encountered: