-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dubious overwrite logic with etag / server side conflict handling #3262
Comments
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 resultConflict dialog "do you want to overwrite ?", then confirming would attempt the upload again. Actual result |
needs to be checked with uptodate ocis and oc10 backends. |
👍 correct |
current behaviour is:
closing as current behaviour is good enough - avoids dataloss 👍 |
See these:
it seems to be passing in an etag but the method
$_ocUpload
takes anoverwrite
boolean as parameter.It is likely that folder upload is not properly processing overwrites, unless it just works "by chance".
@LukasHirt FYI
The text was updated successfully, but these errors were encountered: