Closed (duplicate)
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Sep 2008 at 19:39 UTC
Updated:
13 Dec 2008 at 19:23 UTC
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
Comment #1
eagereyes commentedI 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.
Comment #2
gregglesThis seems like a duplicate of #241514: {path_redirect}.rid not updated to a serial field from 5.x upgrade.