Active
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2016 at 17:02 UTC
Updated:
9 Dec 2016 at 21:37 UTC
Jump to comment: Most recent
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.
Comments
Comment #2
jrockowitz CreditAttribution: jrockowitz as a volunteer commentedComment #3
fenstrat CreditAttribution: fenstrat commentedI'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
JohnGraffio CreditAttribution: JohnGraffio 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 CreditAttribution: 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
JohnGraffio CreditAttribution: JohnGraffio 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
criscom CreditAttribution: criscom commentedI just migrated yamlform to webforms 8.x-5.0-beta2 using 8.x-1.0-beta27 without any problems.
Comment #8
andypost CreditAttribution: andypost as a volunteer and at Skilld commentedwould 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 CreditAttribution: 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
criscom CreditAttribution: criscom commentedOn an NGINX server running mariadb and php7 I keep running into
We have the following DB setup:
Comment #11
jrockowitz CreditAttribution: 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
criscom CreditAttribution: criscom commentedOk, @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 CreditAttribution: 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 CreditAttribution: jrockowitz commentedI committed the patch so you just need to use the latest dev release of the YAML form module.