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 }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Dubious overwrite logic with etag / server side conflict handling #3262
Current behavior for both backend is that the second tab will overwrite the uploaded file without showing any kind of conflict dialog. I guess the expected behavior is that this dialog shows though, right @kulmann@tbsbdr ?
Activity
PVince81 commentedon Mar 25, 2020
Compared to OC 10, it also seems that the logic is not relying on the 412 or 409 error codes on upload to trigger the overwrite dialog.
I'll tag this as bug now, we need to revise the way how we detect conflicts and manage concurrency.
Here's an example case that is not handled properly:
Expected result
Conflict dialog "do you want to overwrite ?", then confirming would attempt the upload again.
Actual result
[-]Dubious overwrite logic with etag[/-][+]Dubious overwrite logic with etag / server side conflict handling[/+]tbsbdr commentedon Jun 28, 2022
needs to be checked with uptodate ocis and oc10 backends.
JammingBen commentedon Aug 1, 2022
Current behavior for both backend is that the second tab will overwrite the uploaded file without showing any kind of conflict dialog. I guess the expected behavior is that this dialog shows though, right @kulmann @tbsbdr ?
tbsbdr commentedon Aug 1, 2022
👍 correct
tbsbdr commentedon Sep 21, 2022
current behaviour is:
closing as current behaviour is good enough - avoids dataloss 👍