The default profile uses explicit db queries to create the 'tags' vocabulary. It probably should use taxonomy_vocabulary_save() instead, but if not, it needs to call field_attach_create_bundle() to define the 'tags' vocabulary bundle.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bjaspan’s picture

Priority: Normal » Critical
Status: Active » Needs review
FileSize
1.17 KB

This patch fixes the problem the wrong way, by calling field_attach_create_bundle() directly. I suggest it get applied, then the issue be converted to normal priority for someone to fix it the right way, by using taxonomy_vocabulary_save(). Unless, of course, someone wants to quickly write a patch to fix it the right way. :-)

swentel’s picture

Attached patch uses the taxonomy_vocabulary_save() function.

Status: Needs review » Needs work

The last submitted patch failed testing.

swentel’s picture

Status: Needs work » Needs review
FileSize
2.35 KB

A crap, diff from the wrong directory ... should be fine now.

bjaspan’s picture

Status: Needs review » Reviewed & tested by the community

Nice, works perfectly.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

Status: Fixed » Closed (fixed)

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