The unimported count in the Migrate UI is defined as:

$unimported = $total - $processed;

where $processed is the total number of rows the migration has run on, not the total actually imported.

Should this be:

$unimported = $total - $imported;

Or should the label of that field be "Unprocessed", or perhaps showing both would be helpful, for half-run migrations?

Comments

mikeryan’s picture

Category: bug » task

Maybe changing the label to Unprocessed would make it clearer.

mikeryan’s picture

Title: Unimported count is incorrect » Unimported header is confusing
Status: Active » Fixed

OK, now using "Unprocessed" so it's clearer.

xtfer’s picture

Thanks.

I have a patch which shows both. I'll open a new issue for it when I get a moment.

mikeryan’s picture

I'd rather not add another column to the UI, particularly one that would be redundant 90% of the time.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.