-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Old chunking on new endpoint broken when using if-match header #28197
Comments
okay actually three cases to distinguish:
|
Also doesn't work on the PR #28160 which comes with many new tests covering all these chunk stuff. The difference is that we don't send |
setting to high as it would break use cases where people share big files directly |
Even weirder: when I overwrite an existing file that is not a received shared file, it uses the correct "uploads" endpoint:
|
Desktop client version owncloud-client-2.3.2-1.5.x86_64 on openSUSE Tumbleweed. |
After investigating all this, the fix is to have the desktop client always use new chunking. Then we ban old chunking from the new endpoint #28200 which is quicker than trying to fix this exact case. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps
Expected result
Upload succeeds, original file keeps its file id and etag changes for both the file and the parent.
Actual result
With desktop client 2.3.2 using old chunking, getting "412 An If-Match header was specified and the resource did not exist":
With new chunking from ... wait a minute, why is client 2.3.2 using old chunking ?
Versions
OC 10.0 master
The text was updated successfully, but these errors were encountered: