Error on service_links.module file
When the function service_links_show($node) validate if to display the service links.
When the field_tags is an entity reference field an error accrues it expects the field to be only term reference field.
This is the error:
Notice: Undefined index: tid in service_links_show() (line 883 of /home/itamar/w/praise/praise/modules/contrib/service_links/service_links.module).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

yaronmiro’s picture

Status: Active » Needs review
FileSize
610 bytes

Applying a patch to resolve the field_tags as entity ref field issue.

Jeroen_005’s picture

Status: Needs review » Reviewed & tested by the community

#1 Works fine for me. Since it's so simple, maybe we can commit this one?

Jeroen_005’s picture

Version: 7.x-2.2 » 7.x-2.3
nico.knaepen’s picture

Title: "Field tags" as as entity reference field » "Field tags" as entity reference field
mibfire’s picture

In some case the target_id is not set either.

Agileware’s picture

Patch #5 looks good and works for me.

  • Simon Georges committed 383cbfa on 7.x-2.x authored by mibfire
    Issue #2282383 by yaronmiro, mibfire: "Field tags" as entity reference...
Simon Georges’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

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