You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SwikritiT
changed the title
Trying unlock a shared file with sharer's lock token gives 500
Trying to unlock a shared file with sharer's lock token gives 500Nov 21, 2023
The tests related to this is also failing in the CI https://drone.owncloud.com/owncloud/ocis/29020/23/5
Search for this scenario Scenario Outline: trying to unlock a shared file that has been locked by the file owner
Can not reproduce. Looks like it comes from the sharesstorageprovider Could you add the configuration (env)
I've updated the issue with the ocis server logs and the envs
SwikritiT
changed the title
Trying to unlock a shared file with sharer's lock token gives 500
Trying to unlock a shared file as a share reciever with sharer's lock token gives 500Nov 22, 2023
Describe the bug
When a user tries to unlock a locked file shared to them using the sharer's lock token the ocis server returns
500
Steps to reproduce
parent.txt
parent.txt
with usermarie
parent.txt
curl -ueinstein:relativity -XLOCK "https://localhost:9200/remote.php/dav/files/einstein/parent.txt" -H "Content-Type: application/json" -d"<?xml version='1.0' encoding='UTF-8'?><d:lockinfo xmlns:d='DAV:'><d:lockscope><d:exclusive/></d:lockscope></d:lockinfo>" -vk
response
curl -XUNLOCK "https://localhost:9200/remote.php/dav/files/marie/Shares/parent.txt" -H "Lock-Token:<lock-token>" -umarie:radioactivity -vk
Expected behavior
The server should throw the appropriate error message and status code maybe
403
?.Actual behavior
The request fails with
500
status code and error messagerpc error: code = Unimplemented desc = gateway: error calling Unlock: rpc error: code = Unimplemented desc = method not implemented
response
Setup
Please describe how you started the server and provide a list of relevant environment variables or configuration files.
OCIS_COMMITID=42cdd2c86388a9058e1168128ec49b263dbd2e6f
OCIS started with
PROXY_ENABLE_BASIC_AUTH=true OCIS_INSECURE=true OCIS_ASYNC_UPLOADS=true IDM_CREATE_DEMO_USERS=true OCIS_LOG_LEVEL=error ./bin/ocis server
Server logs
The text was updated successfully, but these errors were encountered: