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'])) {
CommentFileSizeAuthor
#3 2013473.patch405 bytesfietserwin
#1 2013473.patch390 bytesfietserwin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fietserwin’s picture

Status: Active » Needs review
FileSize
390 bytes

Simple change as patch attached

Status: Needs review » Needs work

The last submitted patch, 2013473.patch, failed testing.

fietserwin’s picture

Status: Needs work » Active
FileSize
405 bytes

bah, old school patch, it applied locally. Let's see if this one is accepted.

fietserwin’s picture

Status: Active » Needs review
gnucifer’s picture

Issue summary: View changes

+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.

gnucifer’s picture

Still have this problem, would be nice if this patch could get some attention.

fietserwin’s picture

3: 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.

gnucifer’s picture

Status: Needs review » Reviewed & tested by the community

Seems fine to me. ['settings']['title_field'] is an instance, not field setting, so the patch will do the job.

fago’s picture

Status: Reviewed & tested by the community » Fixed

Thanks, committed.

  • Commit bc37cb1 on 7.x-1.x authored by fietserwin, committed by fago:
    Issue #2013473 by fietserwin: Title attribute of image field not listed...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.