Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2015 at 01:57 UTC
Updated:
4 Jan 2016 at 16:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
benjy commentedJust wrote this, still un-tested.
Comment #3
phenaproximaShould be IDs.
Should be ID.
Does this plugin even exist? I thought it was covered by skip_on_empty.
I'm not sure if I should apply the "Needs tests" tag to this issue -- how does one even test this?
Comment #4
benjy commentedThere isn't actually anything to test because the top level migration schema has type: ignore on the whole process array.
yeah, see: core/modules/migrate/src/Plugin/migrate/process/SkipRowIfNotSet.php:
Comment #5
benjy commentedThis time the right patch and a interdiff.
Comment #6
phenaproximaThe label should probably be something like "Skip row if not set", yes? :)
Otherwise, looks okay...would like confirmation from @chx or @mikeryan, though.
Comment #7
benjy commentedFixed.
Comment #8
phenaproximaI'd still like a second pair of eyes on it (@chx's, preferably), but assuming Drupal CI OKs it, RTBC from me.
Comment #9
benjy commentedFound another plugin while testing my UI today.
Comment #10
chx commentedComment #13
benjy commentedThis passes locally.
Comment #14
benjy commentedGreen this time, back to RTBC, nothing changed, must have been random fails in head.
Comment #15
alexpottCommitted c938db1 and pushed to 8.0.x and 8.1.x. Thanks!