Problem/Motivation
When migrating a multilingual site, the migration overview page says that the translation upgrade path is missing, although it was done in #2225775: Migrate Drupal 6 core node translation to Drupal 8.
How to reproduce
- Enable the "Content translation" module on the D6 site and on the D8 site.
- On the D8 site, got to "/upgrade" and fill in the D6 database credentials.
- Actual result: translation upgrade path is missing
- Expected result: translation upgrade path is not missing
Proposed resolution
Modify the mapping for the d6_node_translation in Drupal\migrate_drupal_ui\Form\MigrateUpgradeForm to have translation as the source module and content_translation as the destination module.
Remaining tasks
Write a patch. Review.
User interface changes
The translation upgrade path won't be marked as missing when migrating multilingual sites.
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#10 | after.png | 31.15 KB | maxocub |
#6 | translation_upgrade_path_missing-2809115-6.patch | 698 bytes | yogeshmpawar |
#3 | 2809115_translation_upgrade_path_missing.patch | 732 bytes | petiar |
upgrade.png | 32.01 KB | maxocub |
Comments
Comment #2
petiar CreditAttribution: petiar as a volunteer commentedI am on DrupalCon 2016 in Dublin and I am working on this issue.
Comment #3
petiar CreditAttribution: petiar as a volunteer commentedProblem successfully reproduced, changes made as per Proposed resolution, problem disappeared. See proposed patch.
Comment #4
petiar CreditAttribution: petiar as a volunteer commentedComment #6
yogeshmpawarI have rerolled the patch against #3 for 8.3.x
Comment #7
maxocub CreditAttribution: maxocub commentedLooks good to me.
Comment #8
ricardoamaro CreditAttribution: ricardoamaro as a volunteer and at Acquia commentedComment #9
Gábor HojtsyDon't agree that it needs a screenshot, the only difference is the translation migration will not be missing.
Comment #10
maxocub CreditAttribution: maxocub commentedHere's an after screenshot
Comment #11
ricardoamaro CreditAttribution: ricardoamaro as a volunteer and at Acquia commented@maxocub++ thanks! Looks fine.
Comment #12
alexpottCommitted and pushed 064f776 to 8.3.x and bf894e4 to 8.2.x. Thanks!
Comment #15
Gábor HojtsySuperb, thanks all!
Comment #17
maxocub CreditAttribution: maxocub as a volunteer and commented