Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
update system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2006 at 12:01 UTC
Updated:
26 Apr 2006 at 13:22 UTC
I saw this with an earlier update of one site, and it occurs again on repeating the process, so, a bug report :)
On running update.php from 20060426 circa 10:30am (here in the UK) I get one error:
Update #138
* Failed: INSERT INTO {url_alias} (src, dst) VALUES ('node/feed', 'rss.xml')
With the full reported error as:
* user warning: Duplicate entry 'rss.xml' for key 2 query: INSERT INTO url_alias (src, dst) VALUES ('node/feed', 'rss.xml') in /Users/adrian/Sites/multi47/includes/database.mysql.inc on line 120.
* warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /Users/adrian/Sites/multi47/database/updates.inc on line 672.
The url_alias table currently has (pid: 2, src: rss.xml, dst: node/feed), so this update is supposed to swap the contents of the latter two columns. It fails to do so.
PHP version: 5.04
MySQL version: 4.1.10
Comments
Comment #1
Zen commenteddupe.