-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbugfeature: sharinghighneeds info
Description
Steps to reproduce
- Share a file with a user
- Delete the shared file
Expected behaviour
Share should be deleted from DB
Actual behaviour
Share still exists in DB table oc_share
Server configuration
Operating system:Ubuntu 16.04
Web server:Apache2
Database:PostgreSQL
PHP version:php 7.0
Nextcloud version: 12.0.3
Updated from an older Nextcloud/ownCloud or fresh install:updated from older nextcloud
Where did you install Nextcloud from:https://nextcloud.com/install/
Are you using an external user-backend, if yes which one: LDAP
This lead to one user having a broken share in "Shared with others" folder:

I managed to get rid of it by manually deleting the share from DB table oc_share.
I would recommend for nextcloud to check when deleting a file, if it is shared. If yes then delete the share from DB too.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbugfeature: sharinghighneeds info