<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Earnie, that sounds like what 7.8 was supposed to fix. There was a long issue on the core queue about it.<br></span></div><div>&nbsp;</div><div><font color="#ff007f" face="bookman old style, new york, times, serif" size="4"><i><b>Nancy</b></i></font> <br></div><div><font face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</font></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Earnie Boyd
 &lt;earnie@users.sourceforge.net&gt;<br> <b><span style="font-weight: bold;">To:</span></b> support@drupal.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, May 10, 2012 4:42 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [support] Upgrading from Drupal 6 to Drupal 7<br> </font> </div> <br>
On Thu, May 10, 2012 at 2:11 PM, Earnie Boyd<br>&lt;<a ymailto="mailto:earnie@users.sourceforge.net" href="mailto:earnie@users.sourceforge.net">earnie@users.sourceforge.net</a>&gt; wrote:<br>&gt; I have noticed on a few occasions that when upgrading from Drupal 6 to<br>&gt; Drupal 7 when running update.php things seem to go alright with the<br>&gt; first update.php. &nbsp;However, if you execute update.php again you'll<br>&gt; have update items that did not complete and will not complete until<br>&gt; you fix the code. &nbsp;In particular there are some db_insert() queries<br>&gt; that will fail due to duplicate entries for the data being inserted.<br>&gt; I have found these in both modules/system/system.install and<br>&gt; modules/block/block.install. &nbsp;The simplest resolution to these is to<br>&gt; modify those files and wrap the insert with a try {} catch() {} block<br>&gt; similar to shown in the api documentation[1] except when you catch
 the<br>&gt; event you need to continue on.<br>&gt;<br>&gt; [1] http://api.drupal.org/api/drupal/includes%21database%21database.inc/group/database/7<br>&gt;<br><br>Another thing I find on occasion is an error indicating the 'language'<br>field in the node table doesn't have a default.&nbsp; Going to the DB and<br>supplying a default resolves the issue but is that the correct thing<br>to do?&nbsp; I do not have the locale module enabled so there is only the<br>default or undefined language.&nbsp; I am at a loss at trying to find an<br>issue that might exist already for this at issues/drupal.&nbsp; Does anyone<br>know of one that might be a good fit for this?<br><br>-- <br>Earnie<br>-- <a href="https://sites.google.com/site/earnieboyd" target="_blank">https://sites.google.com/site/earnieboyd</a><br>-- <br>[ Drupal support list | http://lists.drupal.org/ ]<br><br> </div> </div> </blockquote></div>   </div></body></html>