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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | feeds_tamper-update_N-fix-1371100-1.patch | 1.02 KB | twistor |
| feeds_tamper_install_7_1_beta3.patch | 1.67 KB | jameria21 |
Comments
Comment #1
twistor commentedAre you sure that 7004 is causing errors?
Can you try this patch?
Comment #2
jameria21 commentedSorry for not getting back. I got this tested and it worked great. Thanks!
Comment #3
twistor commentedThank you!
http://drupalcode.org/project/feeds_tamper.git/commit/c9a97a7