Earnie, that sounds like what 7.8 was supposed to fix. There was a long issue on the core queue about it.
Nancy
Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.
From: Earnie Boyd earnie@users.sourceforge.net To: support@drupal.org Sent: Thursday, May 10, 2012 4:42 PM Subject: Re: [support] Upgrading from Drupal 6 to Drupal 7
On Thu, May 10, 2012 at 2:11 PM, Earnie Boyd earnie@users.sourceforge.net wrote:
I have noticed on a few occasions that when upgrading from Drupal 6 to Drupal 7 when running update.php things seem to go alright with the first update.php. However, if you execute update.php again you'll have update items that did not complete and will not complete until you fix the code. In particular there are some db_insert() queries that will fail due to duplicate entries for the data being inserted. I have found these in both modules/system/system.install and modules/block/block.install. The simplest resolution to these is to modify those files and wrap the insert with a try {} catch() {} block similar to shown in the api documentation[1] except when you catch the event you need to continue on.
[1] http://api.drupal.org/api/drupal/includes%21database%21database.inc/group/da...
Another thing I find on occasion is an error indicating the 'language' field in the node table doesn't have a default. Going to the DB and supplying a default resolves the issue but is that the correct thing to do? I do not have the locale module enabled so there is only the default or undefined language. I am at a loss at trying to find an issue that might exist already for this at issues/drupal. Does anyone know of one that might be a good fit for this?
-- Earnie
-- https://sites.google.com/site/earnieboyd
[ Drupal support list | http://lists.drupal.org/ ]