-
Notifications
You must be signed in to change notification settings - Fork 187
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
Cannot move folder/file from one received share to another #2442
Comments
@SwikritiT Is that scenario part of the expected failures? |
I don't see any mention in the expected-failures files. @SwikritiT there should be an API test scenario for this in the core API test suite. Please have a look. If there is no test scenario, then create one. |
It looks like this will be fixed by cs3org/reva#2026 - and that removes a lot of scenarios from expected-failures. So I guess there are API test scenarios that do this, they had other reasons in the past for failing. |
@phil-davis @micbar https://github.com/owncloud/core/blob/901157f2b3d0ba1f36b1e4d22c8384e255094b11/tests/acceptance/features/apiShareUpdateToShares/updateShare.feature#L194 |
When I look for |
This issue still relevant on
curl -XMOVE -umarie:radioactivity 'https://host.docker.internal:9200/remote.php/webdav/Shares/Admin-Folder/folder2' \
-H'Destination: https://host.docker.internal:9200/remote.php/webdav/Shares/Einstein-folder/folder2' -vk < HTTP/1.1 400 Bad Request
< Access-Control-Allow-Origin: *
< Content-Length: 0
< Content-Security-Policy: default-src 'none';
< Date: Tue, 19 Apr 2022 06:24:54 GMT
< Vary: Origin
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
< X-Xss-Protection: 1; mode=block CC @phil-davis |
Also moving outside of the curl -XMOVE -umarie:radioactivity 'https://host.docker.internal:9200/remote.php/webdav/Shares/Admin-Folder/folder2' \
-H'Destination: https://host.docker.internal:9200/remote.php/webdav/folder2' -vk < HTTP/1.1 501 Not Implemented
< Access-Control-Allow-Origin: *
< Content-Length: 0
< Content-Security-Policy: default-src 'none';
< Date: Tue, 19 Apr 2022 06:31:27 GMT
< Vary: Origin
< X-Content-Type-Options: nosniff
< X-Download-Options: noopen
< X-Frame-Options: SAMEORIGIN
< X-Permitted-Cross-Domain-Policies: none
< X-Robots-Tag: none
< X-Xss-Protection: 1; mode=block |
Currently, moving outside of the Shares folder gives
|
Same as #8063 file/folder cannot be moved between different shares. |
Describe the bug
Cannot move folder/file from one received share to another
Steps to reproduce
Steps to reproduce the behavior:
admin
make a folderadmin-folder
with sub folderfolder1
admin-folder
to usermarie
with permissionall
einstein
make a foldereinstein-folder
einstein-folder
to usermarie
with permissionall
maire
accept both sharesmarie
move folderShares/admin-folder/folder1
toShares/einstein-folder
Expected behavior
Like in OC10, the folder should be moved.
Actual behavior
It gives
400
error and the folder is not movedSetup
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: