Closed (fixed)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Oct 2012 at 21:08 UTC
Updated:
27 Jun 2013 at 04:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchThanks for the report! I think you've identified a bug. Could you try applying this patch to your installation of Webform and try running the update again (after restoring a DB backup)?
Comment #2
siwinski commentedThanks quicksketch! That worked for update 7401 but then I ran into the same issue with update 7403. Attached is a patch that combines the fix for both update functions. My 7.x-3.18 to 7.x-4.0-alpha6 update ran successfully after applying this patch.
Comment #3
quicksketchHa! Yes of course it would. Thanks for the update. This is ready to go.
Comment #4
abrao commentedThanks quicksketch and siwinski for the patches. Do you plan to update the webform.install file with the patch?
Comment #5
demoshane commentedRan into same, applying #2 didn't solve the issue with infinite loop.
Comment #6
demoshane commentedIncreasing priority. As it stands after upgrading webform drush updatedb is infinitely looping and old webforms can't be modified as it leads to site error when trying to.
Comment #7
wodenx commentedThe patch in #2 worked for me, but should really have the $progess updated as well, as in the attached.
Comment #8
demoshane commentedI'll test the patch asap. Will report back on monday.
Comment #9
demoshane commented#7 solved the issue.
Comment #10
noahadler commentedWanted to add a minor note about the patch in #7: the array index is 'last_processed_nid' in the patch, but it should be 'last_nid_processed'. This took me a while to track down, so hopefully this note will help others.
Comment #11
quicksketchThanks guys. I made the adjustment @noahadler suggested and committed a modified version of #7. Committed to 7.x-4.x.