Test to assert every config property path that has `translatable: true` can be translated using the UI

Created on 28 April 2023, about 1 year ago
Updated 19 May 2023, about 1 year ago

Problem/Motivation

Drupal\Tests\config_translation\Functional\ConfigTranslationUiTest was failing in πŸ“Œ New config schema data type: `required_label` Fixed after translatable: true was added to some property paths that had type: string.

This seemed reasonable … but it turns out that due to the way that the config_translation module is implemented, only config schema types that have translatable: true set are effectively translatable. This appears to be intentional.

Steps to reproduce

See above.

Proposed resolution

To make sure we do not regress against this, we should have an explicit kernel test that verifies every translatable config property path is indeed translatable through the UI. (Functional UI tests for every one of these would be far too slow/expensive.)

Remaining tasks

Write test.

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

πŸ“Œ Task
Status

Active

Version

10.1 ✨

Component
ConfigurationΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡§πŸ‡ͺBelgium Wim Leers Ghent πŸ‡§πŸ‡ͺπŸ‡ͺπŸ‡Ί

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.

  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024