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.
Problem/Motivation
The MigrateExecutable class tracks successes and total processed items, but does not keep track of the number of failures and ignored rows - useful information at the UI end.
Proposed resolution
Add equivalent variables and getters to the existing success/processed tracking.
Remaining tasks
Implement it.
User interface changes
N/A for core (Migrate Plus will make use of it in contrib).
API changes
Public getters for the new stats to be added.
Comments
Comment #1
alexkb CreditAttribution: alexkb commentedCould you simply subtract the totals successes from total processed items to get the ignored/failed items?
Comment #2
mikeryanWell, that would get the total number failed and ignored items combined, but not the individual numbers.
Comment #3
mikeryanLooks like this will probably be subsumed into #2443081: Make MigrateExecutable statistics publicly available.
Comment #4
mikeryanContrib can do this itself: https://www.drupal.org/node/2544874