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

alexkb’s picture

Could you simply subtract the totals successes from total processed items to get the ignored/failed items?

mikeryan’s picture

Well, that would get the total number failed and ignored items combined, but not the individual numbers.

mikeryan’s picture

Status: Active » Postponed

Looks like this will probably be subsumed into #2443081: Make MigrateExecutable statistics publicly available.

mikeryan’s picture

Status: Postponed » Closed (duplicate)

Contrib can do this itself: https://www.drupal.org/node/2544874