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
Right now, deleting a file/folder does not delete its corresponding sharing records. After a file/folder has been deleted, sharing records should also be deleted.
Steps to reproduce
Create a file/folder
Share the created file/folder
Permanently delete that file/folder
Check table oc_share
Expect: It's sharing records deleted
Actual: It's sharing records still exist
Expected behavior
Sharing records should also be removed from the oc_share table.
Nextcloud Server version
28
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Default user-backend (database)
LDAP/ Active Directory
SSO - SAML
Other
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Reproducible on 28, 29, 30, master
The text was updated successfully, but these errors were encountered:
I agree that we should only remove sharing records after a file/folder has been permanently deleted. Now the sharing records still exist even after the permanent delete.
luka-nextcloud
changed the title
[Bug]: Sharing records are not deleted after a file/folder has been deleted
[Bug]: Sharing records are not deleted after a file/folder has been permanently deleted
Dec 20, 2024
Does this daily job work as expected? Two weeks ago I had an issue with moving a share and finally found out that it was becaus of an orphaned share. After running occ sharing:delete-orphan-shares the issue was resolved.
Because this was an old share, I question whether this daily job is enough.
Bug description
Right now, deleting a file/folder does not delete its corresponding sharing records. After a file/folder has been deleted, sharing records should also be deleted.
Steps to reproduce
Expect: It's sharing records deleted
Actual: It's sharing records still exist
Expected behavior
Sharing records should also be removed from the
oc_share
table.Nextcloud Server version
28
Operating system
None
PHP engine version
None
Web server
None
Database engine version
None
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
Reproducible on 28, 29, 30, master
The text was updated successfully, but these errors were encountered: