-
Notifications
You must be signed in to change notification settings - Fork 189
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
Shared mount folder gets deleted when overwritten by a file from personal space #7208
Comments
SagarGi
changed the title
Shares folder gets deleted when copied on the top of it
Shared mount folder gets deleted when overwritten by a file from personal space
Sep 5, 2023
similar to #6739 ? |
Similar but in Personal space #6983 |
re-tested. I got 409 error. Probably we fixed it. but api tests still fail
|
Issue still exists. Steps:
curl -XCOPY "https://localhost:9200/dav/spaces/<personal-space-id>/afile.txt" \
-H"DESTINATION: https://localhost:9200/dav/spaces/<virtual-shares-drive-id>/myfolder" \
-uadmin:admin -vk Result:
|
Issue still exists: Only the HTTP status code is different Steps:
curl -ks -uadmin:admin -X COPY -H "DESTINATION:https://localhost:9200/dav/spaces/a0ca6a90-a365-4782-871e-d44447bbc668\$a0ca6a90-a365-4782-871e-d44447bbc668/shareFolder" https://localhost:9200/dav/spaces/f3681943-78f1-415d-b84d-12ac5953b526\$ee17dd67-9574-49d6-9d69-fc75ea7ae07e/testFile.txt -v | xmllint --format - Result:
|
Fixed in cs3org/reva#4802 |
github-project-automation
bot
moved this from Qualification
to Done
in Infinite Scale Team Board
Aug 20, 2024
9 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When a user make an api request for copying a file from personal space on the top of the shared mounted root level folder then the whole shared folder and all the resources gets deleted.
Steps to reproduce a bug.
test1
andtest2
test1
creates a filetest1.txt
test2
user creates a folder calledtest2-folder
test2
user creates a file insidetest2.txt
insidetest2-folder
test2
folder shares the foldertest2-folder
withtest1
with permission can edit.test1
accepts the sharestest1
copy the filetest1.txt
to/test2-folder
curl request to perform step 7
to get
<user-test1-virtual-share-id>
and<user-test1-space-id>
use following curl commandActual Behavior
The server gives 500 error.
Expected behavior
The behavior can not be performed from the
UI
but possible throughAPI
.Or such Behavior should be forbidden in ocis by giving status code
403
.Needs some information and discussion regarding it.
Environment
oCIS= latest build
The text was updated successfully, but these errors were encountered: