Changing Content Type to "revisions enabled" gives xmlsitemap error

xgretsch - March 4, 2009 - 14:40
Project:Revision Moderation
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

The following sequence of actions gives an error:

1. Install revision_moderation module.

2. Edit a Content type which previously didn't have "Create revision" enabled (in my case, it's called "performer_biography")

3. Check "Create new revision" and "New revisions in moderation", then press "Save content type"

The following error appears:
user warning: Duplicate entry 'xmlsitemap_node_type_priority_performer_biograph' for key 1 query: INSERT INTO variable (name, value) VALUES ('xmlsitemap_node_type_priority_performer_biography', 's:3:\"0.1\";') in /var/www/dev/bachtrack/includes/database.mysqli.inc on line 151.

As far as I can tell, everything is still working after this, but it's worrying.

Running on a fairly old Drupal 5.6 - haven't had time to upgrade to 5.16, but the xmlsitemap module is current (5.x-1.4).

 
 

Drupal is a registered trademark of Dries Buytaert.