Problem/Motivation
statistics_node_translation_counter migration is in the content translation module.
Steps to reproduce
Proposed resolution
move it to statistics
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3424009
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3424009-move-statisticsnodetranslationcounter-to
changes, plain diff MR !6785
Comments
Comment #3
quietone commentedReady for review
Comment #4
smustgrave commentedChange makes sense and needed to deprecate statistics probably.
Comment #7
catchCommitted/pushed to 11.x and cherry-picked to 10.3.x, thanks!
Comment #8
quietone commentedI realized this morning that moving a multi-lingual migration out of content_translation might cause problems because they were placed in content_translation so they were not discovered.
I did some local testing and confirmed that the
statistics_node_translation_counteris now discovered when content_language is not installed. Ideally, that should not happen but it is working as designed.This means that this translation related migration will always run when using the 'one click' upgrade or similar drush command. Fortunately, that does not cause errors because this migration is to support the Classic node migrations. The 'one click' upgrade uses the Node Complete migrations where d6_node_translation and d7_node_translation are not used. When
statistics_node_translation_counterruns every row will be skipped because migration_lookup will return a NULL.