Closed (duplicate)
Project:
Workflow
Version:
6.x-1.0-rc3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2008 at 19:16 UTC
Updated:
29 Dec 2008 at 20:09 UTC
I have the newest version of workflow, and when adding a new workflow, I get these errors:
The workflow is then not created. When the keys for the tables workflow, and workflow_states are set to AUTO_INCREMENT, then that seems to solve the problem. I used the following lines:
ALTER TABLE workflows CHANGE wid wid INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE workflow_states CHANGE sid sid INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT;
ALTER TABLE workflow_transitions CHANGE tid tid INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT;
Comments
Comment #1
jvandyk commentedhttp://drupal.org/node/316246