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
{{ message }}
Repository navigation
Closing the upload conflict dialog with X or Escape leaves the file queued; the next upload silently overwrites the existing file #3736
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Closing the upload conflict dialog with X or Escape leaves the file queued; the next upload silently overwrites the existing file. Cause: packages/web-app-files/src/helpers/resource/actions/upload.ts:40-58 opens the dialog without onCancel, and ResourceConflictModal.vue:96 doesn't expose one, so ModalWrapper.vue:95-103 only closes the modal.
Reproduction Steps
A folder contains one.txt with content "SERVER".
Upload a local one.txt. The "file already exists" dialog opens.
Close it with X or Escape.
Upload any other file.
Expected Outcome
Closing the dialog cancels the upload of one.txt.
Actual Outcome
one.txt stays queued in Uppy. The next unrelated upload uploads it as well and overwrites the server file without asking.
Activity