Follow-up to #2568203: Remove migrate-db.sh in favor of core tools
The db-tools.sh import command just plain does not work to import a fixture into an external (specified on the command-line) database. It parses and adds the connection for the external database, but does not actually use it when importing. Simple fix!
| Comment | File | Size | Author |
|---|---|---|---|
| #14 | 2579399-14.patch | 2.77 KB | phenaproxima |
| #11 | interdiff-2579399-6-11.txt | 863 bytes | phenaproxima |
| #11 | 2579399-11.patch | 2.72 KB | phenaproxima |
| #6 | 2579399-6.patch | 2.35 KB | phenaproxima |
| #6 | 2579399-6-FAIL.patch | 1.76 KB | phenaproxima |
Comments
Comment #2
phenaproximaBlocks #2568203: Remove migrate-db.sh in favor of core tools.
Comment #3
mikeryanIt doesn't really block the other patch, it just means you can't use it to its fullest.
Comment #6
phenaproximaHave a test, yo. Let's get this in by RC.
Comment #9
Kazanir commentedLooks good.
Comment #10
neclimdulIf you overwrite the global connection, we should reset it at the end. It should be as simple as something like this:
Comment #11
phenaproximaDone!
Comment #12
benjy commentedLooks good!
Comment #13
neclimdulShould have caught this the first review... sorry.
Should add @requires extension pdo_sqlite to this test method.
Comment #14
phenaproximaNice catch. All set!
Comment #15
neclimdulEnabled and disabled pdo_sqlite locally and everything ran smoothly. Going to look into the previous failures but they're in "Drupal\toolbar\Tests\ToolbarAdminMenuTest" so its seems unrelated so RTBC'ing now.
Comment #16
neclimdulI'm told their working on the toolbar hash failure over here. #2075889: Make Drupal handle incoming paths in a case-insensitive fashion for routing
Comment #17
webchickAwesome-sauce!
Committed and pushed to 8.0.x. Thanks!
Comment #20
webchickPIFT = Pain In my Frigging Tush.