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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

quicksketch’s picture

Category: bug » task
Status: Active » Needs review
FileSize
2.27 KB

Not 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.

gary.betz’s picture

quicksketch,

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