Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#4 | default-profile-create-bundle-581764-4.patch | 2.35 KB | swentel |
#2 | default-profile-create-bundle-581764-2.patch | 2.15 KB | swentel |
#1 | default-profile-create-bundle-581764-1.patch | 1.17 KB | bjaspan |
Comments
Comment #1
bjaspan CreditAttribution: bjaspan commentedThis 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. :-)
Comment #2
swentel CreditAttribution: swentel commentedAttached patch uses the taxonomy_vocabulary_save() function.
Comment #4
swentel CreditAttribution: swentel commentedA crap, diff from the wrong directory ... should be fine now.
Comment #5
bjaspan CreditAttribution: bjaspan commentedNice, works perfectly.
Comment #6
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks!