Follow-up to #2805097: Should the YAML form module change its name?
The YAML Form module is going to be moving into the 8.x-5.x branch of the Webform module.
Steps
- Update YAML Form module's project page, status, and issue tracker message.
- Rename YAML Form 8.x-1.x to Webform 8.x-5.x
- Move YAML Form 8.x-1.x to Webform 8.x-5.x issues
- Provide YAML Form 1.x to Webform 5.x migration
- Update YAML Form module's project page and status.
Comments
Comment #2
jrockowitz commentedComment #3
fenstratI've updated the project page to give a better indication of the current YAML Form to Webform rename. Obviously feel free to make further modification @jrockowitz.
Comment #4
John Graffio commentedI tried running the YAML to Webform update and got this:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /update.php/start?id=132&op=do_nojs&op=do
StatusText: Internal Server Error
ResponseText:
There were 75 database updates, only six completed. Then I get this:
Drupal database update
The update process was aborted prematurely while running update #8008 in yamlform.module. All errors have been logged. You may need to check the watchdog database table manually.
That's as far as it all gets.
Comment #5
jrockowitz commentedThe migration issue has been fixed in the latest dev release of the Webform module.
Please see #2833832: After upgrade from YAMLForm: "undefined function webform_schema()".
Once I get confirmation that the migration is working correctly, I will tag a new release.
Comment #6
John Graffio commentedI just tried the YAML to Webform migration on a fresh install of Drupal 8.24, using the WebForm 5.x dev branch, got the following error:
Drupal database update
The update process was aborted prematurely while running update #8008 in yamlform.module. All errors have been logged. You may need to check the watchdog database table manually.
Front page
Administration pages
The following updates returned messages:
yamlform module
Update #8001
Update form settings removed 'mail.default_body' and replaced with 'mail_default_body_text' and 'mail_default_body_html' Updated email handler for forms: contact, template_contact, template_donation, template_job_application, template_job_seeker_profile, template_registration, template_session_evaluation, template_subscribe, template_user_profile
I'll watch the issue queue for any updates. Thanks!
Comment #7
criscomI just migrated yamlform to webforms 8.x-5.0-beta2 using 8.x-1.0-beta27 without any problems.
Comment #8
andypostwould be great to have some script or change record with a way how to migrate custom code because lots of classes renamed
Comment #9
jrockowitz commentedActually, I have drush command I am using to do the renaming. Maybe I can refactor it to target a custom module.
Right now, most developers should just do a search-n-replace using the below strings
Comment #10
criscomOn an NGINX server running mariadb and php7 I keep running into
We have the following DB setup:
Comment #11
jrockowitz commentedPlease stop reporting migration issue to this [meta] ticket and look at the YAML Form modules' issue queue.
@criscom Please see #2834129: Website Encountered an Unexpected Error on Migrate. The patch needs some testing.
Comment #12
criscomOk, @jrockowitz, sorry about this.
We fixed it by moving the installation to a different server, ran the update script there, and moved the database back to where we had the problem.
For us the issue is resolved.
Comment #13
javjaff commentedThanks. I tested the patch described in issue #2834129: Website Encountered an Unexpected Error on Migrate. It resolved the problem in my case. It need to be used before migration of course ;)
Comment #14
jrockowitz commentedI committed the patch so you just need to use the latest dev release of the YAML form module.
Comment #15
jrockowitz commentedComment #16
jrockowitz commented@see Webform 8.x-5.x Roadmap
Comment #17
stephen ollmanPlease confirm that YAMLForm will eventually be replaced by Webform. I have one YAMLForm, but am happy to use Webform instead and manually recreate.
Comment #18
jrockowitz commentedThe YAML Form module has been moved/replaced to Webform 8.x-5.x.
Comment #19
stephen ollmanThanks!