Posted by freemed on April 22, 2008 at 3:44pm
3 followers
| Project: | Survey-Webform Migrate |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Issue Summary
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.
Comments
#1
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.
#2
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