Posted by effulgentsia on October 30, 2009 at 11:27pm
| 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
This works for me
#2
Worked great for me too. Committed to CVS. Thanks!
http://drupal.org/cvs?commit=308844
#3
#4
Automatically closed -- issue fixed for 2 weeks with no activity.