Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
15 Oct 2015 at 21:19 UTC
Updated:
2 Nov 2015 at 20:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
phenaproximaHere we go. This patch changes the fixtures thusly:
Drupal 6
Drupal 7
Comment #3
neclimduleep, that's a bit disruptive for the couple migrate patches in the queue changing the fixture. But yeah, this is something we should probably do.
Comment #4
phenaproximaThey can go first. These changes are easy to re-roll.
Comment #6
gábor hojtsyMy understanding is this is broken out of and apparently somewhat an extension of #2225775: Migrate Drupal 6 core node translation to Drupal 8.
Comment #7
phenaproximaSo it looks like running database updates changed values which the tests were depending on, and that's why all those failures happened. I have changed the tests (and, in one case, a migration) accordingly.
A couple of tests for the Drupal 7 Aggregator migration path were majorly changed, since aggregator feeds are very dynamic by nature and can change any time the fixtures are updated normally.
I had to change a migration test or two in the Comment module, because the fixture updates altered certain comment-related variables.
Comment #8
phenaproxima@Kazanir pointed out that one of the modified assertions MigrateCommentVariableInstanceTest was sketchy -- it was asserting something that should not have been changed in the Drupal 6 database fixture. Fixed that. Here's to not re-rolling this monster again.
Comment #9
Kazanir commentedLooks good now :thumbsup:
Comment #11
webchickOk, went through this patch, apart from the dump file exports (though I did scan them and yikes, Locale is a monster ;)). Some nice bug fixes in here, as well as i18n coverage for test data, yay!
This code is all confined to Migrate stuff, which is an experimental module, which I believe makes it RC eligible. It's also just test stuff, so doubly-eligible. Tagging.
Committed and pushed to 8.0.x. Thanks!