Cannot import config: d7_webform extension will not be installed after import

Created on 22 May 2023, over 1 year ago
Updated 7 August 2024, 4 months ago

Problem/Motivation

Hello,

I'm facing an issue with the config import.
I'm using version 8.x-1.2 with Drupal 9.4.15.

The readme file says:

Copy the "migration_templates" YAML files and import them into Drupal configs either using Configuration Management UI or Drush/Drupal Console.

So I copy the config files then try to import the config through drush but I get the following errors:

The import failed due to the following reasons:
The config name d7_webform is invalid.
The config name d7_webform_submission is invalid.
Configuration d7_webform depends on the d7_webform extension that will not be installed after import.
Configuration d7_webform_submission depends on the d7_webform_submission extension that will not be installed after import.

The webform_migrate module is enabled.

Any thoughts?

Thank you!

🐛 Bug report
Status

Active

Version

2.0

Component

Documentation

Created by

🇧🇪Belgium ludo.r Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ludo.r
  • 🇧🇪Belgium ludo.r Brussels

    Strange thing: just tried to import config through the UI (by copy/pasting the exact same config) and this works.

  • Status changed to Closed: works as designed over 1 year ago
  • 🇧🇪Belgium ludo.r Brussels

    Turns out I had to rename the files from d7_webform.yml to migrate_plus.migration.d7_webform.yml.

    It solved the issue in my case.

  • Status changed to Active 4 months ago
  • 🇨🇦Canada megan_m

    This worked for me as well. I think this is at least a documentation issue. I'm not sure if the developers mean for it to work this way, or if the files in the module should be renamed.

    In the 2.x version the the yml files are also not in the migration_templates folder anymore, the folder is just called migrations.

Production build 0.71.5 2024