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.
If you have a node using the Media widget that is currently referencing a file, and you go to admin/content/file and deleted that file, when you re-edit that node, the widget is really wonky.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2774787-widget-filter-empty-field-items.patch | 717 bytes | Dave Reid |
| |||
#2 | Edit Media Display Test Display test | drupal7.dev 2016-07-28 10-11-19.png | 43.48 KB | Dave Reid |
Comments
Comment #2
Dave ReidComment #3
Dave ReidComment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedI was easily able to reproduce this issue and the simple patch in #3 to media.fields.inc fixes the wonky behavior.