Problem/Motivation
The migrations are not imported when I run drush migrate-import.
Steps to reproduce
install migrate_tools module
run drush migrate-import --config-only
Proposed resolution
Migration yaml files should be at the top of the migrations directory, not in d6/d7 directories.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff-3164697-2-3.txt | 2.19 KB | huzooka |
| #3 | webform_migrate-migration_templates-3164697-3.patch | 3.45 KB | huzooka |
| #2 | webform_migrate-3164697-migrate_templates.patch | 2.81 KB | juampynr |
Issue fork webform_migrate-3164697
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
juampynr commentedThe same happened to me. While this module offers a manual process for importing migrations, they have references to migrate upgrade module.
Here is a patch where I move migrations to the migrations directory and I remove references to migrate_upgrade module since they are not needed even if you use migrate_upgrade to generate migration entities.
Comment #3
huzookaFor making the migrations compatible with Drupal 8|9 core, I also removed the migration groups (Migrate Upgrade will add the same groups), added Configuration and Content tags and changed the
d*_node_webformmigration dependencies tod*_node:webform(Migrate Upgrade will change it back tod*_node_webform).And since nothing guarantees that the
webformnode type exists on the source site (because users are able to delete it and use other content types for displaying webforms), I changed the webform content type migration dependencies to optional dependencies.Comment #4
wim leersComment #6
juampynr commentedRemoved a upgrade_d7 group from d7_webform_submission.yml and created a merge request:
https://git.drupalcode.org/project/webform_migrate/-/merge_requests/4
Comment #7
andriyun commentedComment #9
andriyun commentedOk, I got how it works :)
Comment #10
wim leers👍🥳