- πΊπΈUnited States arnoldbird
Copy the "migration_templates" and "src" folders from the webform_migrate directory to your existing webform directory;
Please don't say "existing webform directory." That could mean either the destination site or the old site. Both exist.
Please say explicitly whether you mean the old site or the new/destination site.
- πΊπΈUnited States arnoldbird
In the new webform/migrations dir, copy either the d6/* or d7/* files up a level, i.e. webform/migrations/d7_webform.yml;
I don't know what files you mean by "the d6/* or d7/* files." What d6 or d7 files do you mean?
There is no "webform/migrations" directory. Do we need to create that directory? Do we need to copy the migrations directory from the webform_migrate module directory to the webform directory?
After reading the instructions in the latest patch, I still don't know how to use the module. It seems like one or two steps are missing.
Thank you.
- πͺπΈSpain candelas
Hello and thanks
I am not able to migrate my D7 following your instructions:
- Copy the "migration_templates" and "src" folders from the webform_migrate directory to your existing webform directory;
- Then I delete D6 folders that I have just copied
- Then in terminal (I have in settings.php the legacy-db-key)
- Then I run
drush migrate-upgrade --legacy-db-key=migrate --legacy-root=/var/www/html/test-migrate/ --configure-only
The list that I get in the terminal doesn't have any with webform.drush migrate-import upgrade_upgrade_d7_webform --execute-dependencies; drush migrate-import upgrade_upgrade_d7_webform_submission --execute-dependencies;
And I get this error:In MigrateToolsCommands.php line Migration upgrade_upgrade_d7_webform does not exist In MigrateToolsCommands.php line 933: Migration upgrade_upgrade_d7_webform_submission does not exist
Thanks for any help :)
- πͺπΈSpain candelas
I found https://www.drupal.org/project/webform_migrate/issues/2930108#comment-12... β and changing what he says
!!important!! Remove this line from both config files: migration_group: migrate_drupal_7 -- this can leave you with unwanted config cruft if you try to rollback or start over completely.
I could import them and run from /admin/structure/migrate.
But it imports the forms without the fields, so I am not interested in this migration.
Thanks a lot and I hope it helps other :) - Status changed to Needs work
11 months ago 1:04pm 2 January 2024 - πΊπΈUnited States DamienMcKenna NH, USA
The info file changes are not accurate and should be narrowed down to what is technically necessary.
I think it'd also be beneficial to explain how to modify the d7_node_complete_webform migration to include the webform structure.
- Status changed to Needs review
11 months ago 1:58pm 2 January 2024 - πΊπΈUnited States DamienMcKenna NH, USA
I made some improvements to the README.md file and fixed the dependencies in the info file.