Improve source record count of translation migrate source plugins which use the "i18n_string" table

Created on 9 December 2020, over 4 years ago
Updated 23 May 2025, 17 days ago

Problem/Motivation

BlockCustomTranslation's (and also TermLocalizedTranslation) record count usually returns more records than how many translations are migrated. This is the side-effect of how custom block property translations are stored (by i18n_block) in legacy Drupal versions.

Proposed resolution

Override the inherited count() method – and make it return the correct numbers.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Postponed

Version

11.0 πŸ”₯

Component

migration system

Created by

πŸ‡­πŸ‡ΊHungary huzooka Hungary πŸ‡­πŸ‡ΊπŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024