- Merge request !2Fixed migrationsList() instantiating all migration plugins when only a subset are needed. β (Open) created by joachim
- last update
about 1 year ago 22 pass, 2 fail - π¬π§United Kingdom joachim
Drupal\Tests\migrate_tools\Kernel\MigrateImportTest::testImport passed for me locally.
- πΊπΈUnited States ronchica
FWIW, I needed this patch in order to be able to import or check the status of a migration group.
Due to a dependency, I needed to enable the Migrate Drupal module, which appears to add some migrate plugins to the available list of plugins. I kept getting a '/SQLSTATE[HY000] [2002] Connection refused' error when trying to run the migration group (a single migration ran fine).
After a bunch of time thinking the issue was with my DDEV setup, I debugged using xdebug, found all those plugins trying to connect to a non-existent db, which led me to this issue. Applying the patch enables the status and import commands to work on a migration group, and the import looks good. I still get the connection error once in a while though, so there might be something else that needs to be fixed in my case.