-
Notifications
You must be signed in to change notification settings - Fork 6
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
Delete files as media items are deleted #252
Comments
Hey folks (cc @willguv). Just looking to understand this issue as it's not clear the intention yet. I read the linked thread and will take a stab at it: Problem / SolutionProblem
Context
Outcome
Solution??? Questions
There was a suggestion to use https://www.drupal.org/project/media_file_delete if it was already in use in LGD, but I don't see it in Please correct any of the above where I have misunderstood things. I also gathered that some councils may want to default behaviour, so please confirm that. If every council just wanted instant delete of files attached to deleted media entities, it'd be simpler to just use |
Hi @mccrodp thanks for this detail. What I've heard from councils is that "old files are left lying around taking up space" or words to that effect. I'm not clear on how often this happens, or by what cause. If the default behavior eventually clears away old files, then it feels like there's not much of a problem. If this prompts more thoughts, please do post them. I think I need to understand the issue a little better! |
Right, that is getting us/me closer to something I think, thanks @willguv. So, if I understand the actions needed then, they are:
|
@mccrodp @willguv I've spent some time looking into this and here are my findings: How Drupal handles files by default (also see https://www.drupal.org/docs/administering-a-drupal-site/uploaded-file-management). The key points are:
The File Delete module seems to be closer to what you describe @willguv. |
Mentioned at the PG on 25th September
As media items are deleted, the attached files are left behind - this is causing a problem for a few councils
@andybroomfield identified 'media file delete' which might be in the default LGD install already
Originally posted by @andybroomfield in #220 (comment)
The text was updated successfully, but these errors were encountered: