I apologize if I do not follow some standards for reporting a bug, but this is my first comment.

I have the latest Survey and Webform modules for Drupal 5 installed. I ran this module and, in the web_component table, all of the nid fields were set to 0. I fixed this by adding:
'nid' => $node->nid,
after line 37 of the survey_webform_migrate.install file. I haven't tested everything yet, but that seems to fix the problem perfectly.

Comments

aangel’s picture

Thanks, tbuckley. I had just finished some debugging to get to the same conclusion and fix when I came here to report it. Your line does indeed solve the problem.

quicksketch’s picture

Thanks, an API change in the current version of the module is breaking the migration. The next version of Webform will correct this and this module will continue working. So to sum-up, this module works with Webform 2.0, but not 2.1 or 2.1.1, and will start working again in the next subsequent version (either 2.1.2 or 2.2).

quicksketch’s picture

Status: Active » Fixed

This should be corrected in the new 2.1.2 version.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.