-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: Sharing records are not deleted after a file/folder has been permanently deleted #49932
Comments
This would mean if you accidentally delete a file and restore it from the trashbin, all shares are still destructed. If we rephrase
to
it would work. But I somewhat expect that this is already the case. |
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. |
This daily running job should clear them:
|
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 |
|
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: