Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
25 Jan 2015 at 12:48 UTC
Updated:
10 Jul 2020 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hosef commentedHere is the initial patch.
I moved all of the dumps, changed the namespaces, and edited
migrate-dump-d6.sh, so that they now live in
\Drupal\migrate_drupal\Tests\Table\d6.Naturally, this broke all of the tests. To fix that, I made a new class
at
\Drupal\migrate_drupal\Tests\d6\MigrateDrupal6TestBasethat overrides
getDumpDirectory()withparent::getDumpDirectory() . '/d6';and made all of thetests extend this one instead of
\Drupal\migrate_drupal\Tests\MigrateDrupalTestBase.I also renamed
\Drupal\migrate_drupal\Tests\Dump\Drupal6DumpBaseto\Drupal\migrate_drupal\Tests\Dump\DrupalDumpBasebecausethere isn't actually anything Drupal 6 specific in it.
Comment #2
hosef commentedSorry about the weird filename. I posted this from my phone and it's messing with my attachments. -_-
Comment #4
hosef commentedUpdated patch.
Comment #5
benjy commentedhosef, You should be able to use Git to show the filenames, see the attached patch which is only 49KB. I simple reproduced the patch from what you mentioned, hopefully I didn't miss anything.
Comment #7
benjy commentedLets try that again.
Comment #9
benjy commentedDoh!
Comment #11
benjy commentedUpdated the tests.
Comment #13
benjy commentedThis should be green.
Comment #15
benjy commentedAnd again.
I thought it was going to be easy enough to reproduce using the steps in #4. Turns out I was wrong, I should have figured out how to get Git to just work out the renames from the last patch!
Comment #16
chx commentedThat looks good. "Simple" search - replace beyond the moves. Thanks.
Comment #18
alexpottNeeds a reroll.
Comment #19
alexpottThe dump has changed so it will need to be recopied.
Comment #20
benjy commentedRe-rolled.
Comment #22
benjy commentedFixed.
Comment #24
benjy commentedFiddly little issue this.
Comment #26
benjy commentedComment #27
chx commentedHope this gets in quick.
Comment #28
chx commentedSorry. Misclicked.
Comment #29
alexpottMigrate is not frozen in beta. Committed 0e1fe4c and pushed to 8.0.x. Thanks!