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.
To go along with https://www.drupal.org/node/2809433, I would like to display the number of deleted items. This is already tracked, but not reported.
Patch coming soon.
Comment | File | Size | Author |
---|---|---|---|
#6 | deleted-count-2809437-6.patch | 2.5 KB | nileshlohar |
#2 | migrate-tools--show-deleted-count--2809537--2--8.2.patch | 2.34 KB | damontgomery |
Comments
Comment #2
damontgomery CreditAttribution: damontgomery at Acquia commentedHere is the patch.
Comment #3
geerlingguy CreditAttribution: geerlingguy commentedComment #4
geerlingguy CreditAttribution: geerlingguy commented+1 here — this seems like a worthwhile addition (even if core support for deletion takes some time).
Comment #5
mikeryanRight now, nothing is deleted during an import operation, so it makes no sense to display the deleteCounter on import (it only applies during rollback).
Even if the ability to delete "missing" records at import time makes it into core, it's rather edge-casey and I'd rather not display a count that's irrelevant 99% of the time - the deleted count should only be displayed for migrations which are configured with delete_missing.
Comment #6
nileshlohar CreditAttribution: nileshlohar at Acquia commentedRe-rolled patch in #2
Comment #7
heddnSeems like a won't fix scenario to me.