Skip to content
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

OCM. folders are created with “/” in the shares #10582

Open
ScharfViktor opened this issue Nov 12, 2024 · 1 comment
Open

OCM. folders are created with “/” in the shares #10582

ScharfViktor opened this issue Nov 12, 2024 · 1 comment
Labels

Comments

@ScharfViktor
Copy link
Contributor

ocis: 6.6.1+6f3322a3d
web: 11.0.1

https://owncloud.dev/ocis/development/testing/#running-test-suite-with-federated-sharing-ocm
Steps:

  • 2 users create connection
  • user1 creates folder f2 and shares to user2 with edit role
  • user2 tries to create new folder inside the shared folder

Actual: new folder is created with /
after reloading the page -> everything is fine. but if the user tries to rename /folder -> he gets a 412 error which confuses people

Screen.Recording.2024-11-12.at.10.47.32.mov
@ScharfViktor ScharfViktor transferred this issue from owncloud/ocis Nov 12, 2024
@JammingBen JammingBen self-assigned this Nov 15, 2024
@JammingBen
Copy link
Contributor

I'm moving this to the ocis repository since I think it 's a server issue.

After the folder has been created, Web does a PROPFIND on the folder resource: https://localhost:9200/remote.php/dav/spaces/{id}/New%20folder. The server response then includes <oc:name>/New folder</oc:name>. Note the leading slash, that shouldn't be there.

@JammingBen JammingBen removed their assignment Nov 15, 2024
@JammingBen JammingBen transferred this issue from owncloud/web Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Prio 3 or less
Development

No branches or pull requests

2 participants