Download & Extend

Error generating >1 vocabulary

Project:Devel
Version:7.x-1.x-dev
Component:devel_generate
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Seems like the vocabulary machine_name is set to empty string, and Field API is choking on non-unique machine_name for vocabulary. Adding $voc->machine_name = $voc->name; prior to calling taxonomy_vocabulary_save() within devel_generate_vocabs() fixes it, but is probably the wrong way to fix it. I leave it to you to figure out the right way :).

Comments

#1

Status:active» needs review

This works for me

AttachmentSizeStatusTest resultOperations
619424.patch736 bytesIdleFAILED: [[SimpleTest]]: [MySQL] Repository checkout: failed to checkout from [:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal/drupal].View details

#2

Worked great for me too. Committed to CVS. Thanks!
http://drupal.org/cvs?commit=308844

#3

Status:needs review» fixed

#4

Status:fixed» closed (fixed)

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