Skip to content

Closing the upload conflict dialog with X or Escape leaves the file queued; the next upload silently overwrites the existing file #3736

Closed

Description

@AlexAndBear

Initial Checklist

  • 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

  1. A folder contains one.txt with content "SERVER".
  2. Upload a local one.txt. The "file already exists" dialog opens.
  3. Close it with X or Escape.
  4. 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.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions