Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291863

Deleting a node with revisions does not release file usage

$
0
0

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

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 291863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>