Error when creating a team
Bug #456634 reported by
Michael Lustfield
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drupal Teams module |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When I try to add a second team I get the following error. It doesn't seem to matter what team I add first, the second team just freaks out. This is a new installation of Drupal installation.
user warning: Duplicate entry '0' for key 1 query: INSERT INTO openid_teams_roles (rid, sid, team) VALUES (4, -1, 'kalliki-devs') in /var/www/
The only line currently in the table is this rid = 3 ; sid = -1 ; team = kalliki-admins
It looks like the tid isn't auto_increment. I checked the install file but the tid type is serial which should make this work. I tried doing this from MySQL too and the command only worked if I specified the tid.
To post a comment you must log in.
Right after I submitted this, I had the bright idea to uninstall the module and reinstall it after pulling the latest source. It looks like I had two different versions sitting around and the database change was breaking it.