Error when calling migrate:messages for migration that hasn't run

Created on 19 December 2022, about 2 years ago
Updated 16 August 2023, over 1 year ago

Problem/Motivation

If you call drush migrate:messages for a migration that has not yet run, a fatal error occurs:

TypeError: Drupal\migrate_tools\IdMapFilter::currentSource(): Return value must be of type array, null returned in Drupal\migrate_tools\IdMapFilter->currentSource() (line 216 of /var/www/app/docroot/modules/contrib/migrate_tools/src/IdMapFilter.php).

Steps to reproduce

1. define a migration, e.g. mymigration
2. run drush migrate:messages mymigration

Proposed resolution

tbc

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom malcomio

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024