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.
Bug is in file modules/field.info.inc, function entity_metadata_field_image_callback(), line 167:
if (empty($field['settings']['title_field'])) {
Should be
if (empty($instance['settings']['title_field'])) {
Comment | File | Size | Author |
---|---|---|---|
#3 | 2013473.patch | 405 bytes | fietserwin |
#1 | 2013473.patch | 390 bytes | fietserwin |
Comments
Comment #1
fietserwinSimple change as patch attached
Comment #3
fietserwinbah, old school patch, it applied locally. Let's see if this one is accepted.
Comment #4
fietserwinComment #5
gnucifer CreditAttribution: gnucifer commented+1, was just going to create an issue and submit a patch, but first searched for "title_field" and found this existing issue with the identical patch. Would be nice to see this committed.
Comment #6
gnucifer CreditAttribution: gnucifer commentedStill have this problem, would be nice if this patch could get some attention.
Comment #7
fietserwin3: 2013473.patch queued for re-testing.
If you can do a review and set it to RTBC (if you think it is a correct patch) that might help.
Comment #8
gnucifer CreditAttribution: gnucifer commentedSeems fine to me. ['settings']['title_field'] is an instance, not field setting, so the patch will do the job.
Comment #9
fagoThanks, committed.