If you use the tagging widget on other entities as node you get the notice message:

Undefined index: nid in tagging_field_widget_form() Zeile 89 .../tagging/tagging.field.inc.

and the normal suggestions don't work.

For example:
field_collection module creates a own entity - if you use the tagging field here you run into this problem.

Solution/Workaround:
we need to check if we are on a node and suppress the suggestions if not.

Long Term Solution:
Supports suggestions on entities

Comments

eugenmayer’s picture

Priority: Normal » Minor
Status: Active » Needs work

Well, thank you, so what we need here is:
1. documentate that entities are not supported by suggestions
2. check for entities and skip the suggestion widget if its not a node, as you suggested

Marking as minor

eugenmayer’s picture

Thank you for the workarround in http://drupalcode.org/project/tagging.git/blobdiff/88318c499f86a51ec412f...
, now we need docs and we are done

coloryan’s picture

Confirmed, this patch still applies. Thanks!

eugenmayer’s picture

Status: Needs work » Fixed

Yes, its part of 7.x-dev yet and not released so far

socialnicheguru’s picture

When will the dev version of Tagging for D7 be released?

There must be a way for me to pull from head on git

for others: http://drupalcode.org/project/tagging.git/snapshot/refs/heads/7.x-3.x.ta...

Status: Fixed » Closed (fixed)

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