I installed the Project module, and I made sure that the taxonomy core module was enabled first.
After enabling 'Project' and 'Project Releases', I see occasional errors like this:
API version an invalid vocabulary is selected. please change it in the options.
I read the project documentation, which under Project Releases says the following:
When the Project releases module is first enabled (assuming the core Taxonomy module is also enabled), the Project releases module will create a vocabulary called "Project release API compatibility". To make changes to this vocabulary go to the categories administration page (Administer > Content management > Categories).
I don't have a "Categories" menu item, but I do have a "Taxonomy" menu item. When I look in Taxonomy, I see that the "Project types" vocabulary has been created, but there is no vocabulary called "Project release API compatibility."
Did I make an installation or configuration error? How can I recover from this?
Comments
Comment #1
wuertele CreditAttribution: wuertele commentedI'm willing to do some work on my own to troubleshoot this, can anyone offer hints?
The only reference to this problem that I have found was on a russian drupal site talking about a 5.x release. Via Google translate I gather that they tried creating the Project release API compatibility vocabulary manually, but it did not work.
Comment #2
dwwIt was (temporarily) removed as part of #642106: Add native support in project_release for a "Release type" vocabulary and #642110: Add native support in project_release for a "Security update" term. Those are both listed as 6.x-1.0 blocker issues.
Can't decide if this issue should be marked duplicate with #642106 or postponed. I guess I'll leave it open here so it's more likely people will see it with this title -- I certainly don't expect anyone to be able to figure out that this is caused by #642106 just from searching the queue...
To fix it, yes, you can manually create a new vocabulary, and then you just need to set the variable
project_release_api_vocabulary
to the vocabulary ID. So, if you create the new vocab and it's ID 5, you'd put something like this in your settings.php file:Cheers,
-Derek
Comment #3
wuertele CreditAttribution: wuertele commentedThanks. Is there a description somewhere of what should go into the admin/content/taxonomy/add/vocabulary fields?
Comment #4
Deviation CreditAttribution: Deviation commentedI resolved this by creating the "Project release API compatibility" vocabulary under Administer › Content management > Taxonomy. Then you need to update the view as well. So go into Administer › Site building › Views and choose edit on the "project_release_by_project" view. Under filters, click on "Project release: API compatability term exposed ". Then click the gear next to it. Set the vocabulary to "Project release API compatibility". Save your view.
Hope that helps.
Comment #5
scott5615 CreditAttribution: scott5615 commentedI have just followed the instructions and this appears to solve the problems as observed by others. However, on closer inspection, I see that the %api variable is not being populated for the release version string template.
I see from http://drupal.org/node/116544 that it the variable is expected to be blank if there are no Taxonomy values defined as mentioned on the project instructions.
"Note: If you have not configured the "Project release API compatibility" vocabulary as described in the previous section, the api variable will always be blank. However, if you have configured this vocabulary, then the api variable will contain the value of the term associated with a release."
Is this a known issue, and is there a fix?
Thanks in advance.
Comment #6
BeMathis CreditAttribution: BeMathis commentedsubscribing
Comment #7
DigitalFrontiersMediasub
Comment #8
geeksmith CreditAttribution: geeksmith commentedsubscribe
Comment #9
that0n3guy CreditAttribution: that0n3guy commentedsub...
Comment #10
merakli CreditAttribution: merakli commentedThis is a very important module for Drupal and Drupal Developers who would like to use Drupal for their project management IMHO. I wonder why I see the issue submitted here left ignored for almost a year now. Makes me uneasy about whether I should invest in using the project and issue tracker...
I have been trying to build a completely Drupal based project management system for a startup, and I just run into this issue too. Clicking on view all releases returns the same error here.
Creating the taxonomy manually takes care of the error, but it doesn't solve the underlying issues.
Comment #11
AlfTheCat CreditAttribution: AlfTheCat commentedsubscribing
Comment #12
matt2000 CreditAttribution: matt2000 commentedConfirming this issue still exists, but manually setting project_release_api_vocabulary doesn't solve everything. ( I used `drush vset project_release_api_vocabulary 3`) I still can't select supported releases for a project. I also noticed that things get pretty broken if projects are created with project module before project release module is enabled. I'm hacking on the code and will post a patch if I make progress. Meanwhile, any advice would be appreciated. It's kinda sad that a module so essential to drupal.org is in such a sorry state....
Comment #13
fugazi CreditAttribution: fugazi commentedsame problem
Comment #14
BartGysens CreditAttribution: BartGysens commentedIs this project dead?
2 years later the issue is still alive...
Comment #15
apadernoI am closing this issue, as Drupal 6 is no longer supported.