Test coverage missing for translation check when local files only is configured

Created on 9 September 2013, over 11 years ago
Updated 14 March 2025, 23 days ago

Problem/Motivation

The page admin/reports/translations/check is never visited when the "Translation source" (translation.use_source) is set to "Local files only" in tests. Code in #1978916-111: Convert locale_translate_page to a Controller β†’ proved that even if there is broken code there, it breaks.

Proposed resolution

Add test coverage for that case.

Remaining tasks

<!-- Delete or add (novice) from the tasks below as appropriate. Comment or uncomment tasks as the issue advances. -->

User interface changes

None.

API changes

None.

Related Issues

#1978916-111: Convert locale_translate_page to a Controller β†’ is where this was identified

πŸ“Œ Task
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component

locale.module

Created by

πŸ‡­πŸ‡ΊHungary GΓ‘bor Hojtsy Hungary

Live updates comments and jobs are added and updated live.
  • 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.

  • 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.

  • stale-issue-cleanup

    To track issues in the developing policy for closing stale issues, [Policy, no patch] closing older issues

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.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thank you for creating this issue to improve Drupal.

    We are working to decide if this task is still relevant to a currently supported version of Drupal. There hasn't been any discussion here for over 8 years which suggests that this has either been implemented or is no longer relevant. Your thoughts on this will allow a decision to be made.

    Since we need more information to move forward with this issue, the status is now Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

Production build 0.71.5 2024