Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
db_next_id() call in the install script has to be changed slightly from:
$sid = db_next_id('{webform_submissions}_sid');
to
$sid = db_result(db_query('SELECT MAX({webform_submissions}_sid) FROM {webform_submissions}')) + 1;
or something like that, as well as updating the meta information present in the info file. Otherwise, it does look like the module will work fine under 6.x.
Comment | File | Size | Author |
---|---|---|---|
#2 | survey_webform_migrate_with_patch_applied.zip | 9.36 KB | gary.betz |
#1 | survey_webform_migrate6.patch | 2.27 KB | quicksketch |
Comments
Comment #1
quicksketchNot a bug report if this wasn't written for 6 :)
If you're currently trying to move from Survey on Drupal 5 to Webform on Drupal 6, I wouldn't mind if you tried to test out this functionality by using the provided patch. It might help others trying to do the same move.
Even though the instructions on the project page say you should upgrade on Drupal 5, I bet a lot of people will try to shortcut directly in their upgrade to D6.
Comment #2
gary.betz CreditAttribution: gary.betz commentedquicksketch,
Tried your patch but received error with respect to the updates to the .info file so I manually patched that file (see attached patched files) but I am receiving an error on modules admin page "This version is incompatible with the 6.20 version of Drupal core." Perhaps a problem in the .info file?
Any help would be great!
Thx,
Gary Betz