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

Zen’s picture

Status: Active » Closed (duplicate)