Closed (fixed)
Project:
Profiler
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Jun 2011 at 11:10 UTC
Updated:
7 Jul 2012 at 18:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
itangalo commentedAs promised: attached is a patch fixing this issue. The README is updated, too. :-)
Comment #2
q0rban commentedThanks! Committed: http://drupalcode.org/project/profiler.git/commit/689afe1
Comment #4
Anonymous (not verified) commentedTerm creation is still unsuccessful.
I've tried creating vocabularies before profiler runs (by putting the vocabulary creation task before the call to profiler_install_profile_complete). But, my terms are not populated.
Terms are defined like this:
term[advertiser][name] = "Advertiser"
term[advertiser][vocabulary_machine_name] = "type"
term[publisher][name] = "Publisher"
term[publisher][vocabulary_machine_name] = "type"
After install, the "Type" vocabulary exists, but there are no terms in it. I've attached my full profile.info file.
Comment #5
thedavidmeister commented@FilmFnurd it should be "terms" not "term", also the link to your info file appears to be broken.
Comment #6
thedavidmeister commentedI was having the same issue, where terms would not be created. I checked the taxonomy_vocabulary table right as profiler calls taxonomy_get_vocabularies() and the table was empty, I checked again after installation and the table had vocabs in it...
After spending some time poking around in Features for a bit to try and get it to do it's thing during installation I noticed that Features rc3 was released for D7 two days ago.
I installed that (was previously using rc2 for Features) and now terms are being populated in the database as expected.
Fix is to make sure you're using at least rc3 for Features.
Comment #7
Anonymous (not verified) commentedI can confirm that this issue is resolved by 1. Per #5, using the proper syntax (terms[blah]...) and 2. Per #6, upgrading features to rc3. As long as the vocabulary exists (either created programmatically or by Features), then profiler will populate it with terms.