InstallerTranslationExistingFileTest fails on 11.x branch

Created on 18 May 2024, about 1 year ago

Problem/Motivation

Failing tests such as https://git.drupalcode.org/project/drupal/-/jobs/1622602

I looked into this a bit. It started with ๐Ÿ› Composer tests fail because of invalid Drupal version Fixed Where the version was changed from 11.0.0-dev to 11.0-dev

With the drupal version change in that issue, the test downloads the translation file as drupal-11.0-dev.xx-lolspeak.po instead of drupal-11.0.x.xx-lolspeak.po

I donโ€™t know whatโ€™s supposed to happen here with this version, but this line https://git.drupalcode.org/project/drupal/-/blob/11.x/core/includes/inst... would normally change 11.0.0-dev to 11.0.x but it canโ€™t match 11.0-dev, so itโ€™s just leaving it as 11.0-dev. the translation server seems to have files for both 11.x and 11.0-dev so regardless, it gets a file.

But the file translator here: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal/Co... wonโ€™t match either of those two translation file patterns. So the installer sees the language request, sees it doesnโ€™t have a translation file, orders it downloaded, the download succeds, installer_download_translation reloads the page (purportedly in the new language), and on reload, the installer sees a language request, but doesnโ€™t see the file that had been downloaded, and starts the process over again until something times out.

Good news is this should only affect the 11.x branch, and not the alpha or beta releases.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Installย  โ†’

Last updated 4 days ago

No maintainer
Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States mikelutz Michigan, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024