Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
migration system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
8 Mar 2016 at 17:19 UTC
Updated:
1 Apr 2016 at 17:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottThis will fail.
Comment #3
alexpottThis fixes the telephone field migration... I'm not sure that failed is the correct status if the telephone module is not installed on the destination... but that is not the point of this patch.
Comment #6
alexpottSo this patch should be green - and now we have proper testing of setting the source_base_path through the UI!
Comment #8
alexpottHmmm weird... that test passes locally for me...
Comment #9
alexpottAh my gitignore causing me an issue... missing the temp file...
Comment #10
benjy commentedAdded the fix to run these tests locally because it gets me every time, and added the missing temp file.
Comment #11
benjy commentedI only made one change to the test while debugging so I think I can still RTBC this, looks good.
Comment #12
alexpottRerolled on top of the plugins patch - until that is in 8.1.x this is only eligible for 8.2.x
The only thing that had to change was how we loaded the migrations to see if they were successful.
Basically we can use the MigrationCreationTrait to do this for us.
Comment #14
alexpott#12 got tested against 8.1.x and not 8.2.x... testing now against 8.2.x
Comment #15
benjy commentedLooks good to me.
Comment #16
alexpottComment #17
xjmComment #18
catchWhy array_values()? Could use a comment if needed.
Also can't see what the added images are used for - there's no obvious test changes that indicate whether they'd pass or fail due to the presence of the images or not, or I'm missing something. Test-only patch might be enough to answer that.
Comment #19
alexpottFor reasons I don't quite understand the id map is really tricky to work with :( - added a comment. But this is not the fault of this issue.
Comment #20
catchStill missing what difference the images make.
Comment #21
alexpottComment #24
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x. Thanks!
Comment #25
xjm