Closed (fixed)
Project:
Tagging
Version:
7.x-3.3
Component:
Backend
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2011 at 10:38 UTC
Updated:
20 Feb 2012 at 17:50 UTC
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
Comment #1
eugenmayer commentedWell, 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
Comment #2
eugenmayer commentedThank you for the workarround in http://drupalcode.org/project/tagging.git/blobdiff/88318c499f86a51ec412f...
, now we need docs and we are done
Comment #3
coloryan commentedConfirmed, this patch still applies. Thanks!
Comment #4
eugenmayer commentedYes, its part of 7.x-dev yet and not released so far
Comment #5
socialnicheguru commentedWhen 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...