When a file is removed in AMP Metadata, it appears that the file is removed sitewide, regardless if it is in use elsewhere.
Make sure to only remove the file from the system if it no longer in use.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2752419-3-file-usage-check.patch | 534 bytes | rainbowarray |
| #2 | 2752419-1-check-file-usage.patch | 1.05 KB | rainbowarray |
Comments
Comment #2
rainbowarrayThis checks the usage of the organizational logo file before deleting. Pretty tricky to test this, as it would be a pretty rare thing to happen.
Comment #3
rainbowarrayHere's the D7 version of the patch.
Comment #4
mtiftProbably overkill, but I tested the D8 version by doing this:
All good. Committed to 8.x-1.x.
Comment #5
mtiftDid the same with D7. Committed to 7.x-1.x. Thanks, Marc.