If the administrative tool to rebuild the sitemap is used, it clears all of the custom node priorities that have been assigned, not only in the sitemap but in the nodes themselves.
Mental note to self: never rebuild sitemap again.
If the administrative tool to rebuild the sitemap is used, it clears all of the custom node priorities that have been assigned, not only in the sitemap but in the nodes themselves.
Mental note to self: never rebuild sitemap again.
Comments
Comment #1
dave reidI should make it clear that you shouldn't ever need or want to run the rebuild except for when you first install the module if you want all your data in the table right away. It is strictly a 'last-resort' kind of thing that should be done. I've added a warning on the page that says either "Your sitemap is up to date and does not need to be rebuilt." or "A rebuild is not necessary. If you are just wanting to re-create the sitemap files, you can <a href="admin/reports/status/run-cron">run cron manually</a>."
I have been looking into creating a temporary table for saving the custom values (priority and status) before dropping the data and then re-adding the data back in. I've also added an additional warning that says "You will lose all custom priority values for your links."
Comment #2
marcus0263 commentedMM I've found that unless I do a complete rebuild any new nodes created have a 0.0 priority level. Then once I "rebuild" they are set to their appropriate level. Then everything is fine after that, this has been the same behaviour since I noticed the last 2-3 updates.
Comment #3
Anonymous (not verified) commentedMaybe a permanent table of loc, priority_override, status_override? Then rebuilding the xmlsitemap table doesn't become the chore for the user.
Comment #4
dave reidMoving this to a task as this is the current expected behavior.
Comment #5
dave reidTagging as beta blocker.
Comment #6
dave reidI want this to be an alpha blocker.
Comment #7
dave reidThis has been officially fixed with http://drupal.org/cvs?commit=303260 ! HOORAY!
Comment #8
Coupon Code Swap commentedNice! Great job Dave :)