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
Uploading another file while the conflict dialog is open overwrites the conflicting file #3889
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
A folder contains one.txt with the content "SERVER".
Upload a local one.txt with the content "LOCAL". The "File already exists" dialog opens.
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.
Activity