I've tried the YAML Form to Webform upgrade, and was using drush.
The upgrade itself seems to have gone OK (The webforms seem to be showing correctly on the site), but my system is now claiming it needs to do about 75 schema updates to webform.
If I use "drush up" to update, I get the following error:
Error: Call to undefined function webform_schema() in [error]
webform_update_8008() (line 165 of
***/modules/webform/includes/webform.update.inc)
(***'s mine)
I have webform-8.x-5.0-beta1 installed, but if I do a "grep -r webform_schema", the function doesn't appear to be defined:
$ grep -r "webform_schema"
includes/webform.update.inc: $schema = webform_schema();
The only thing I can think of was that I was following the drush instructions to the letter, and may have upgraded from webform-8.x-5.x-dev to webform-8.x-5.0-beta1 while I was running the site upgrade.
I've just done this update on a test site, so there's no great urgency, but I think I want to hold off on my live yamlform->webform upgrade until I can get this working!
Comments
Comment #2
jrockowitz commentedThe update hooks should have been deleted from Webform 8.x-1.x. Please try the migration again using the latest dev release of the Webform module.
I am moved this ticket to YAML Form module's issue queue since the issue is related to the migration.
Comment #4
jrockowitz commentedI was able to completely replicate and fix the issue, so I tagged new beta releases of the YAML Form and Webform module.
Please download the latest releases to review.
https://www.drupal.org/project/yamlform/releases/8.x-1.0-beta27
https://www.drupal.org/project/webform/releases/8.x-5.0-beta2
Comment #5
trevorbradley commentedWorks brilliantly. Thanks jrockowitz!