Problem:
When a node type is set to have its form display inline, and then the vocabulary is deleted, made non freetagging, or removed from the list of community tag vocabularies, a broken version of the inline form is still generated for nodes of the node type.

Cause:
The test in community_tags_nodeapi() op 'load' is only for the node type setting. This setting persists even if the relevant vocabulary is not available.

Proposed solution:
Ensure the node has a community tags vocabulary before enabling the form.

Patch attached.

CommentFileSizeAuthor
community_tags-inline.patch907 bytesnedjo

Comments

owahab’s picture

Status: Needs review » Needs work

Sorry about that but your patch now fails due to: Call to undefined function community_tags_for_node().

chaps2’s picture

Version: master » 6.x-1.0-beta4
Status: Needs work » Fixed

Fixed in 6.x-1.x-beta4 onwards.

Status: Fixed » Closed (fixed)

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