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

Error 500 when user try to unlock project space file #7696

Closed
nabim777 opened this issue Nov 9, 2023 · 2 comments
Closed

Error 500 when user try to unlock project space file #7696

nabim777 opened this issue Nov 9, 2023 · 2 comments
Labels

Comments

@nabim777
Copy link
Member

nabim777 commented Nov 9, 2023

Describe

When a user try to unlock the project space file, the user get 500 status code

Steps to reproduce

  1. As admin, create a space space in project space
  2. As admin, upload a file file.txt inside space space
  3. As admin, lock the file file.txt
  4. As admin, unlock the file file.txt using curl command:
curl -kv -XUNLOCK -uadmin:admin 'https://localhost:9200/remote.php/dav/spaces/<project-space-id>/file.txt' -H 'Lock-Token: <file-lock-token>' | xmllint --format -

Expected behavior

status 204

Actual behavior

status 500

< HTTP/1.1 500 Internal Server Error
< Access-Control-Allow-Origin: *
< Content-Length: 187
.
.
< Date: Thu, 09 Nov 2023 06:47:33 GMT
< Vary: Origin
< 
{ [187 bytes data]
100   187  100   187    0     0   3408      0 --:--:-- --:--:-- --:--:--  3462
* Connection #0 to host localhost left intact
<?xml version="1.0" encoding="UTF-8"?>
<d:error xmlns:d="DAV" xmlns:s="http://sabredav.org/ns">
  <s:exception/>
  <s:message>error: not found: no space found</s:message>
</d:error>

image

@SwikritiT
Copy link
Contributor

@nabim777 is this issue also solved by #7726 ?

@nabim777
Copy link
Member Author

nabim777 commented Nov 22, 2023

@SwikritiT Yes, that PR #7726 solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants