Somehow, it looks like not all extra fields are returning a description in their info, throwing notices all over the place. I'm not sure if it's babysitting or not and if we should patch core for this instead (or all contrib modules implementing te hook), but this patch at least makes the notices go away.

CommentFileSizeAuthor
entity_field_extra_notice.patch773 bytesswentel
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

merlinofchaos’s picture

Status: Needs review » Fixed

Committed and pushed.

Status: Fixed » Closed (fixed)

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

kclarkson’s picture

I have updated ctools but am still receiving the following: Notice: Undefined index: label in ctools_entity_field_extra_content_type_content_types() (line 39 of sites/all/modules/contrib/ctools/plugins/content_types/entity_context/entity_field_extra.inc).

kclarkson’s picture

Status: Closed (fixed) » Active

open

kristiaanvandeneynde’s picture

Issue summary: View changes
Status: Active » Closed (fixed)

It's because you've got an extra field that doesn't have a label set.
https://api.drupal.org/api/drupal/modules!field!field.api.php/function/h...

Though this patch fixes the fact that people do not set a description, which is perhaps forgiveable, we should not account for extra fields not being labelled.