Error when creating a team

Bug #456634 reported by Michael Lustfield
6
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/d6mods/openid-teams/openid_teams.module on line 341.

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.

Revision history for this message
Michael Lustfield (michaellustfield) wrote :

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.

Changed in drupal-teams:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.