Saw this warning when updating the database after upgrading to the latest version of 6.x-1.dev

user warning: Duplicate entry 'xmlsitemap_engines_cron_submit_frequency' for key 1 query: UPDATE variable SET name = 'xmlsitemap_engines_cron_submit_frequency' WHERE name = 'xmlsitemap_cron_submit_frequency' in /xxx/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.install on line 47.

and then further down below
Update #6105
Failed: UPDATE {variable} SET name = 'xmlsitemap_engines_cron_submit_frequency' WHERE name = 'xmlsitemap_cron_submit_frequency'

Comments

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

From what version did you upgrade? If you already had 'xmlsitemap_engines_cron_submit_frequency' in the variable table it sounds as if you've updated already. See #379854-128: The site map is not being populated.

avpaderno’s picture

Title: minor warning when updating database » Minor warning when updating database
Assigned: Unassigned » avpaderno
Status: Postponed (maintainer needs more info) » Active

It seems the update was from the Drupal 5 branch. The code is executed in both xmlsitemap_engine_update_6000(), and xmlsitemap_engine_update_6105() (which simply recalls xmlsitemap_engine_update_6000().

I will fix this problem.

avpaderno’s picture

Title: Minor warning when updating database » Minor warning when updating the database
Status: Active » Fixed

I changed the code in CVS.

Thanks for your report.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.