These updates are adding fields and indexes that were already added in D6 with updates 6001 - 6004. So when update.php is run, these updates error. And because of the way update.php works in D7, as opposed to D6, the updates are always pending.

According to the following page, http://api.drupal.org/api/drupal/modules--system--system.api.php/functio..., "..it is a good rule of thumb to only remove update functions that are more than 2 major releases old.." and "Never renumber update functions".

However, in this version of the .install file, the 6001 - 6004 functions seem to have been removed/renamed to the 7001 - 7004 ones, with a minor modification to 6003/7003 to remove unnecessary variable assignment. So, kinda goes against best practice.

The attached patch basically removes updates 7001 - 7004. I am not 100% this is the way to handle this bug, but it is how we were able to get around the pending updates that don't need to be there.

Comments

twistor’s picture

Assigned: Unassigned » twistor
Status: Active » Needs review
StatusFileSize
new1.02 KB

Are you sure that 7004 is causing errors?

Can you try this patch?

jameria21’s picture

Sorry for not getting back. I got this tested and it worked great. Thanks!

twistor’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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