Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
migration system
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2018 at 13:58 UTC
Updated:
18 Oct 2018 at 14:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
maxocub commentedFixed typo in title.
Comment #3
maxocub commentedAdding relation to meta.
Comment #4
masipila commentedComment #6
maxocub commentedJust a starting point while #2975666: Migrate Drupal 7 node entity translations data to Drupal 8 is getting in.
Comment #7
maxocub commentedRe-roll since #2975666: Migrate Drupal 7 node entity translations data to Drupal 8 landed. This is now postponed on #2669984: Migrate Drupal 7 user entity translations data to Drupal 8.
Comment #8
maxocub commentedUn-postponed and re-rolled since #2669984: Migrate Drupal 7 user entity translations data to Drupal 8 landed. Left on NW to verify that the test coverage is enough.
Comment #9
masipila commentedQueued for PostgreSQL and SQLite tests. I gave the patch a first quick round of eyeballs and it looks nice! I will test it and read it again possibly tomorrow.
Markus
Comment #10
mradcliffeThis should be solved by adding tid to the "td" fields above.
Comment #11
maxocub commentedIt also fails on PHP 5.6. Looking at this, I don't think we need the distinct() and orderBy() calls.
Comment #12
maxocub commentedNew patch that replace the hardcoded 'en' langcode by the site's default language if the entity source language is not found.
Also added test for the description format.
I think it's now ready for reviews.
Comment #13
masipila commentedI made quite extensive manual testing, inspecting the results in UI and in the database.
1. Bug: The publishing status is not mapped and thus D8 term translations are always 'published' even if the D7 translation is 'not published'.
2. Nit: Class description must start with a third person verb.
3. Nit: I think we used uppercase ID in other entity translation source plugins
4. Test coverage MigrateTaxonomyTermTest.php
Could we please have test coverage for other metadata properties as well?
Cheers,
Markus
Comment #14
maxocub commentedstatusin the migration file.isPublished()andgetChangedTime(), did you had anything else in mind?Comment #15
masipila commentedThat was super fast response @maxocub!
I reviewed #14. All feedback is addressed so this is RTBC once the tests (that are currently running) are green.
My evening practice is starting soon so it would be good if somebody can switch the status after the tests have finished so that we can get this to Gabor's final review queue ASAP during our mini-sprint week.
Thanks once more @maxocub!
Cheers,
Markus
Comment #16
masipila commentedThe tests turned out to be green as expected, RTBC.
Comment #17
gábor hojtsyI think this looks great. I got blocked to commit this by my local dev environment blown away with the Mac Mojave upgrade. If another committer gets to this sooner, please commit :)
Comment #19
catchCommitted/pushed to 8.7.x and cherry-picked to 8.6.x. Thanks!