Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The iterator in MigrateSourceList::getNextRow() and MigrateSourceMultiItems::getNextRow() has an incorrectly scoped break that causes the iterator to stop after the first pass. This means that returning a NULL from MigrateItem::getItem() as documented to fail a row load results in a NULL row object being passed to Migration::prepareRow(), which effectively kills the migration.
Following patch moves the break to the correct scope in getNextRow() in both classes.
Comment | File | Size | Author |
---|---|---|---|
#1 | migrate-fix-break-scope-2488560-01-D7.patch | 826 bytes | arpieb |
Comments
Comment #1
arpieb CreditAttribution: arpieb commentedComment #2
mikeryanWhen submitting patches be sure to set the status to "Needs review".
Comment #4
mikeryanCommitted, thanks!
Comment #5
mikeryan