-
Notifications
You must be signed in to change notification settings - Fork 184
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
COPY a file
to recevied share folder
returns 412 Pre condition failed - lost share mountpoint in me/drives
#3874
Comments
@SwikritiT @kulmann @fschade which impact does that have for the WebUI and the user? If none, please close. |
There are tests that are linked to this issue in expected to fail. ocis/tests/acceptance/expected-failures-API-on-OCIS-storage.md Lines 1347 to 1354 in 3f80c88
If this won't have any impact on the user I can skip those tests for ocis and remove them from expected to fail |
There are tests related to copy for overwriting while copying (file - folder or folder-file) in Since i was shifting all the tests related to NOTE: This is related to copying from |
Re-tested, HTTP status code return |
I have updated the title and the description to match the current behaviour |
me/drives
me/drives
me/drives
me/drives
file
to recevied share folder
returns 412 Pre condition failed - lost share mountpoint in me/drives
❗ Current behaviour: after performing COPY, the share drive (share mountpoint) got lost while listing the Steps to reproduce
|
Closing in favor of #9753 |
Describe the bug
copying the file inside Shares folder returns 412 Pre condition failed
Steps to reproduce
Steps to reproduce the behavior:
Marie
share a foldertest
to userEinstein
testFile.txt
and accept the shareShares/test/
curl -X COPY -u einstein:relativity https://localhost:9200/remote.php/webdav/testFile.txt \ -H "Destination: https://localhost:9200/remote.php/webdav/Shares/test/" -vk
Expected behavior
The copy is successful with
204
like in OC10 andtest
folder is over-written by the content of copied filecurl -X COPY -u Alice:123456 http://localhost/core/remote.php/webdav/textfile1.txt \ -H "Destination: http://localhost/core/remote.php/webdav/Shares/test/" -v
Actual behavior
Returns with
412
Precondition Failed but a similar request passes if it is for folders that aren't shared and belong to user's personal spacecurl -X COPY -u einstein:relativity https://localhost:9200/remote.php/webdav/testFile.txt \ -H "Destination: https://localhost:9200/remote.php/webdav/Shares/test/" -vk
Setup
Please describe how you started the server and provide a list of relevant environment variables.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: