Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2015 at 23:05 UTC
Updated:
26 Aug 2015 at 20:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hosef commentedAttached is the YAML for this issue, from the patch in #2382117: Migration Files for Drupal 7 Variables.
Test(s) (and maybe a dump file) still need to be written.
Comment #2
miguelc303 commentedAdded organization support to Anexus IT
Comment #3
jcost commentedWill need to be submitted again to Core since moving from sandbox.
Comment #4
phenaproximaComment #5
phenaproximaComment #6
phenaproximaUpdated for HEAD, and wrote a test.
Comment #7
quietone commentedreroll
Comment #8
quietone commentedAnd moved to the search module.
Comment #9
phenaproximaThere is disparity between the D6 and D7 versions of this migration; the D6 one selects several variables which are never mentioned in the process pipeline. That's a WTF and should be addressed before this gets committed.
Comment #10
quietone commentedThe differences your've spotted are nicely outlined in the know issues documentation, specifically
Search Settings. According to that D7 contains 2 variables, search_tag_weights and search_and_or_limit, that are not in D6 or D8.
However, looking at D8 search settings it seems that 'search_and_or_limit' is now 'and_or_limit' and 'search_tag_weights' is now 'tag_weights'.
Since this issue is clearly marked D7, I'll make a new issue for the change to d6_search_settings.yml.
Comment #11
quietone commentedAdded migration for 'search_and_or_limit' and 'search_tag_weights' and tests.
Comment #12
mikeryanI do think it's helpful for long-term maintenance to keep the D6 and D7 tests as in-sync as possible - the only differences should really be inherent differences between D6 and D7.
The module dependencies are unnecessary and should be removed.
Discrepancy from D6, where this is called MigrateSearchConfigsTest.
Why is installConfig necessary here but not in the D6 test?
Discrepancy with D6, where this is testSearchSettings().
Can use $this->config here (see the D6 test).
Comment #13
phenaproximaAll fixed.
Comment #14
mikeryanComment #16
webchickCommitted and pushed to 8.0.x. Thanks!