Problem/Motivation
Make sure the functional tests in migrate_drupal_ui work without color installed and that the migration tests in color still work when tracker is removed from core.
Steps to reproduce
Proposed resolution
- Add @todo where needed to remove Color references in the removal issue
- Make a new smaller d7 fixture for Color and update cspell.json to ignore it
- Create a ReviewPageTest to confirm that Color will be upgraded when enabled on the destination
- Copy and modify Upgrade7Test. This is not needed the migration is config only and thus is not in the entity counts that are tested in the Upgrade tests.
\Drupal\Tests\migrate_drupal\Unit\MigrationStateUnitTest uses the 'color' in source data, it is not relying on the color module at all.
Remaining tasks
Patch
Review
Commit
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | reroll_diff_3270897_6_3270897_11.txt | 1.22 KB | yogeshmpawar |
| #11 | 3270897-11.patch | 760.01 KB | yogeshmpawar |
| #7 | 3270897-6-review-only.patch | 6.99 KB | quietone |
| #6 | 3270897-6.patch | 760.03 KB | quietone |
| #6 | interdiff-2-6.txt | 1.61 KB | quietone |
Comments
Comment #2
quietone commentedComment #3
quietone commentedThe color migration is config only so this should be straightforward.
Comment #4
quietone commentedComment #6
quietone commentedCopy/paste errors.
Comment #7
quietone commentedAdding a review only patch
Comment #8
bbralaThe todo's mean the related issue #3270899: Remove Color module from core will probably need a reroll after commit, but I think that is fine.
The extra test works as expected. I've skimmed through the other patch but that is kinda hard with that fixture :)
Anyways, settings RTBC, thanks @quietone!
Comment #9
catchNeeds a re-roll (at least for 10.x)
Comment #10
bbralaAh, fair enough. I'll keep an eye out for the rerol
Comment #11
yogeshmpawarRerolled the patch against 10.0.x branch & added reroll diff.
Comment #12
bbralaNew patch applies, and the changes that have been added are all trackable to recent commits. Looking good. RTBC again.
Comment #14
catchCommitted/pushed to 10.0.x and cherry-picked to 9.4.x, thanks!