In the .install file,the rid field is created in the database as a serial.

I have a previous version that I have upgraded from (just labelled 5.x-1.x-dev, so probably not very helpful). That version created the field to be an int(10). The update script hasn't changed the field type, so I'm getting problems when I try and create path redirects (duplicate rid=0).

Should one of the path_redirect_update functions include a line to change the field type from int(10) to autonumber?

Comments

eagereyes’s picture

I just ran into that problem, as well. I changed the rid field to auto_increment in the db and now I can add redirects again. This should be an easy fix.

greggles’s picture

Status: Active » Closed (duplicate)