You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the refresh (enable Golden Retriever again), the session is restored, so you will notice a "ghost" file remains in the upload queue.
Click on re-select button.
Attempt to re-select the same file for upload.
Expected behavior
The user should be able to re-select the same file after a page refresh without encountering errors.
Actual behavior
Upon trying to re-select the same file, the Uppy dashboard throws the following error:
Error: Cannot add the file because onBeforeFileAdded returned false.
at Uppy._checkAndUpdateFileState2 (https://rqq2rw.csb.app/node_modules/@uppy/core/lib/Uppy.js:1077:15)
at Uppy.addFiles (https://rqq2rw.csb.app/node_modules/@uppy/core/lib/Uppy.js:462:181)
at Dashboard.addFiles (https://rqq2rw.csb.app/node_modules/@uppy/dashboard/lib/Dashboard.js:283:19)
at Dashboard.handleInputChange (https://rqq2rw.csb.app/node_modules/@uppy/dashboard/lib/Dashboard.js:385:14)
at AddFiles.onFileInputChange (https://rqq2rw.csb.app/node_modules/@uppy/dashboard/lib/components/AddFiles.js:24:18)
at HTMLInputElement.T (https://rqq2rw.csb.app/node_modules/preact/dist/preact.module.js:217:10)
NOTE: When you cancel the restored session and try to re-select the file, the uploading consumes from where it left off.
The text was updated successfully, but these errors were encountered:
Initial checklist
Link to runnable example
https://uppy.io/examples/dashboard/
Steps to reproduce
Expected behavior
The user should be able to re-select the same file after a page refresh without encountering errors.
Actual behavior
NOTE: When you cancel the restored session and try to re-select the file, the uploading consumes from where it left off.
The text was updated successfully, but these errors were encountered: