Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
media_field_update() currently calls field_attach_load() to compare old values and new values take action on files that were removed
Thanks to #651240: Allow modules to react to changes to an entity, this code can be smarter - see patch in #985642: Remove file_attach_load() from file_field_update()
Comments
Comment #1
Dave ReidConfirmed this is still a valid issue. Moving to a bug report.
Comment #2
Dave ReidComment #3
Dave ReidFixed in both branches. Thanks yched!
http://drupalcode.org/project/media.git/commit/01a8b1a
http://drupalcode.org/project/media.git/commit/688f4fa