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.

Command icon 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

matslats created an issue. See original summary.

juampynr’s picture

Status: Active » Needs review
StatusFileSize
new2.81 KB

The 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.

huzooka’s picture

For 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_webform migration dependencies to d*_node:webform (Migrate Upgrade will change it back to d*_node_webform).

And since nothing guarantees that the webform node 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.

wim leers’s picture

Status: Needs review » Reviewed & tested by the community

juampynr’s picture

Status: Reviewed & tested by the community » Needs review

Removed a upgrade_d7 group from d7_webform_submission.yml and created a merge request:

https://git.drupalcode.org/project/webform_migrate/-/merge_requests/4

andriyun’s picture

Status: Needs review » Needs work

  • andr1yun committed ffd0d77 on 8.x-1.x authored by juampynr
    Issue #3164697 by juampynr, huzooka: migrations/d7 directory
    
andriyun’s picture

Status: Needs work » Fixed

Ok, I got how it works :)

drush en migrate_tools webform_migrate migrate_drupal
drush mim d7_webform --execute-dependencies
wim leers’s picture

👍🥳

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.