Whilst's working on a project involving workbench and field_collections, I see that there are a couple of issues around files being deleted, one of them namely #2058025: Missing files in forward revisions and #1084436: doesn't seem to handle file attachments at all (basically the forward revision of the entity is considered to be different to the current one so it has the files deleted)

My question is - why should Drupal delete any files at all? Or put another way, should this behavior be a configuration, either in the content type or as a lower level variable-set ?

Supplied is a rough patch to illustrate my idea

Comments

dgtlmoon created an issue. See original summary.

dgtlmoon’s picture

cilefen’s picture

This is related to, and may be considered a duplicate of, #1399846: Make unused file 'cleanup' configurable.

Status: Active » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.