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.
I have extra columns in my csv that are not part of my source migration. If data in those unused columns is updated it causes my row to get updated while running an import with track_changes => 1. I would assume that any data not in $this->csvcolumns() should not have any effect on my migration. I will work on a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | migrate-remove-unused-columns-from-row-2191335-1.patch | 604 bytes | briand44 |
Comments
Comment #1
briand44 CreditAttribution: briand44 commentedNot sure if this is correct but here is a patch.
Comment #2
13rac1 CreditAttribution: 13rac1 commentedApplies cleanly. Simple patch. Makes sense. Local automated tests run, but I don't have CSV migration to test further. One line patch though, so RTBC.
Comment #4
mikeryanLooks eminently sensible - committed, thanks!
Comment #5
mikeryanTagging as 2.6.