Closed (fixed)
Project:
Drupal core
Version:
8.6.x-dev
Component:
migration system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Dec 2017 at 06:23 UTC
Updated:
5 Apr 2018 at 04:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
catchAttaching this to the meta-issue for translated node IDs.
Comment #3
catchAlso postponing on #2912348: Handle entity_references related to Drupal 6 and 7 node translations with different IDs since that will add infrastructure and a pattern that this issue can use.
Comment #4
heddnPostponing on #2912348: Handle entity_references related to Drupal 6 and 7 node translations with different IDs as discussed at the migrate maintainers meeting.
Comment #5
heddnComment #7
maxocub commentedI doesn't seems like this issue needs to be postponed on #2912348: Handle entity_references related to Drupal 6 and 7 node translations with different IDs since it can be done without a follow-up migration.
Comment #8
phenaproximaI think we should rephrase these a little; IMHO, "node translation counter" makes more sense than "node counter translation", since the counter itself is not being translated in any way.
It's too bad that Statistics doesn't provide an API for this, but I suppose that's not a big problem as long as there is test coverage of both the insert and update cases.
Comment #9
heddnI think #8.2 is an observation. Here's a quick fix to 8.1.
Comment #10
maxocub commentedRe #8.2: I updated the tests to make it more obvious that the node counters are updated by the new migration after being inserted by the first migration.
(I also renamed the migration yml to reflect the migration id)
Comment #12
phenaproximaWe could combine these two queries into a single merge query, to DRY things up a bit. But that's a total fundamentalist nitpick, so feel free to disregard.
Otherwise, I don't see anything to object to. To paraphrase Mortal Kombat, let's finish this.
Comment #13
alexpottThis whole thing should be a single merge query.
Comment #14
heddnBack to RTBC.
Comment #15
alexpottCrediting @phenaproxima for reviews and @catch and @masipila for issue management.
Comment #16
alexpottCommitted and pushed d45dc9d26a to 8.6.x and 63210e8ef3 to 8.5.x. Thanks!
Comment #19
RytoEX commentedDoes this fully resolve the known issues in the handbook on upgrading Statistics from D6/7 to D8? If so, should those sections be removed, or should it wait till the commit ships?
Comment #20
masipila commentedRe #19: Yes, this should permanently fix the i18n statistics migration. I updated the known issue page and mentioned that i18n statistics migration will be included as of D8.5.1.
Cheers,
Markus
Comment #21
oriol_e9gWill be included in 8.5.2. Drupal 8.5.1 is only security fix.
Comment #22
masipila commentedThanks @oriol_e9g, I updated the documentation accordingly.