Project

General

Profile

Actions

Bug #95700

closed

CLI command language:update fails due to packages without translation packs

Added by Daniel Haupt over 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2021-10-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Example execution:

$ typo3 language:update -v
Updating language packs of all activated extensions for locale(s) "de" 
Updated pack for language "de" for extension "adminpanel" 
[...]
Fetching pack for language "de" for extension "recaptcha" failed
[...]
Failed to execute command vendor/bin/typo3 language:update -v: exit status 1

In this case, the extension recaptcha does not provide translation packs at all. Ideally, it should not be attempted to download language packs of this extension.

Suggenstions:
1. Fetch translation packs only if an extension provides those (e.g. check for `.crowdin.yaml` in extension directory or introduce new extension config flag).
2. Do not fail in command typo3 language:update if package download results in 404.

Our current workaround for CI/CD usage:

$ typo3 language:update --no-progress &> /dev/null || true


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91988: language:update command does not output anything when not called in verbose modeClosed2020-08-12

Actions
Actions #1

Updated by Daniel Haupt over 2 years ago

Addition:
I am aware of the command option --skip-extension, but with numerous extensions it could get messy. It would be better to optimize the general behavior, also in the install tool.

Actions #2

Updated by Oliver Hader over 2 years ago

Translation server should provide a list of available language packs per extension. The problematic case here is the exit status.

Actions #3

Updated by Oliver Hader over 2 years ago

  • Status changed from New to Accepted
Actions #4

Updated by Mathias Brodala over 2 years ago

  • Related to Bug #91988: language:update command does not output anything when not called in verbose mode added
Actions #5

Updated by Mathias Brodala over 2 years ago

  • Is Regression set to Yes
Actions #6

Updated by Mathias Brodala over 2 years ago

This has been added as one of many changes with #91988 and is basically a regression.

Actions #7

Updated by Gerrit Code Review over 2 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #8

Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #9

Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #10

Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #11

Updated by Gerrit Code Review over 2 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #12

Updated by Gerrit Code Review over 2 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #13

Updated by Gerrit Code Review over 2 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #14

Updated by Gerrit Code Review over 2 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #15

Updated by Gerrit Code Review over 2 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #16

Updated by Gerrit Code Review over 2 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72274

Actions #17

Updated by Gerrit Code Review over 2 years ago

Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72309

Actions #18

Updated by Anonymous over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #19

Updated by Benni Mack over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF