Closed (duplicate)
Project:
Drupal core
Version:
9.2.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Dec 2020 at 10:22 UTC
Updated:
16 Dec 2020 at 08:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
huzookaComment #3
huzookaComment #4
huzookaComment #5
quietone commentedIt might be prudent to check all source plugins for this problem.
Comment #6
huzookaAdded a new meta: #3187433: Eliminate parent::prepareRow() calls with ignored return value from all migrate source plugins.
Comment #7
huzookaComment #8
huzookaComment #9
wim leersThis clearly ignores the
MigrateSkipRowExceptionthat is caught in\Drupal\migrate\Plugin\migrate\source\SourcePluginBase::prepareRow(), which is the parent implementation that is called eventually in both cases here.Comment #10
catchIs there any existing test coverage where a line or two could be added for this? I'm not sure it's worth adding new test coverage from scratch given the bug is in the specific implementation.
Comment #11
quietone commented@catch, alexpott has done just that, in the meta for this #3187433: Eliminate parent::prepareRow() calls with ignored return value from all migrate source plugins. Since that will find all the source plugins that have this problem I think this can be closed as a duplicate and all the necessary changes made in the meta. And patch over there is a manageable size, ~10K, so I don't see a reason to keep this issue.
Comment #12
quietone commentedYes, closing this as a duplicate.