Problem/Motivation
If revisions are enabled and a media item is changed on later revisions, it's no longer possible to delete the original media item from the library, despite removing all revisions or the node in it's entirety.
The media item is added to the node using an image field.
Steps to reproduce:
- Create a node and add media
- Create a new revision and change the media
- Delete the node
- The original media item will remain in the library and cannot be deleted