When using the OCS Share API, if the share is shared by circle, when calling the /shares endpoint to get information on the share, wrong circle id being returned in share_with field, it's always missing the last character.
Steps to reproduce
Create a circle
Share a file/folder to this circle, share will be created successfully
Use OCS shares API to get the information on this share, wrong circle ID return in share_with field
Expected behavior
return correct circle id
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
⚠️ This issue respects the following points: ⚠️
Bug description
When using the OCS Share API, if the share is shared by circle, when calling the
/shares
endpoint to get information on the share, wrong circle id being returned inshare_with
field, it's always missing the last character.Steps to reproduce
share_with
fieldExpected behavior
return correct circle id
Installation method
Community Manual installation with Archive
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response