Closed (won't fix)
Project:
Community Tags
Version:
5.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2009 at 14:42 UTC
Updated:
18 Mar 2011 at 13:26 UTC
The community tagging form appears on nodes whose type is NOT set for the community tagging vocabulary.
The form appears to allow users to tag these nodes.
This is incorrect -- if the vocabulary is not set on this content type, it shouldn't be possible to tag nodes of this type from this vocabulary.
Comments
Comment #1
avpadernoComment #2
joachim commentedBasically, hook_nodeapi needs to check the vocab applies to the current node, the same way hook_menu does.
I would suggest moving this out to a helper function to check that community tagging is required for the given node.
Comment #3
avpadernoI agree; it is the only way for the module to operate correctly.
If the module must show its form fields only on nodes which are associated with a specific vocabulary, then it must check if the node
hook_nodeapi()received like argument has any taxonomy term of that vocabulary.Comment #4
chaps2 commentedNot an issue in 6.x and #1068648: Community Tags 5.x no longer supported so closing.