Skip to content

Uploading another file while the conflict dialog is open overwrites the conflicting file #3889

Closed

Description

@tammi-23

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

While the upload conflict dialog ("File already exists") is still open, starting another, unrelated upload also uploads the conflicting file and overwrites the existing file on the server, although the user hasn't answered the dialog yet.

This came up in the review of #3742 (review, follow-up request). It is related to #3736, which covers closing the dialog with X or Escape. #3742 fixes that case, but not this one: the issue still reproduces with #3742 applied.

Reproduction Steps

  1. A folder contains one.txt with the content "SERVER".
  2. Upload a local one.txt with the content "LOCAL". The "File already exists" dialog opens.
  3. Leave the dialog open and drag another, unrelated file (e.g. other.txt) into the same folder.

Expected Outcome

Only other.txt is uploaded. one.txt stays untouched until the dialog is answered.

Actual Outcome

one.txt is uploaded together with other.txt and overwritten with "LOCAL", while the dialog is still asking how to resolve the conflict.

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