Issue Bug Rejected

#85376Corrupted translation file blocks complete backend

David Bruchmann 06/25/18, 08:20 updated 10/11/19, 14:29

Description

The following error-message is thrown for the backend after switching the BE-Langauage:

Fatal error: Uncaught TYPO3\CMS\Core\Localization\Exception\InvalidXmlFileException: The path provided does not point to existing and accessible well-formed XML file. Reason: Premature end of data in tag xliff line 2 in typo3conf/l10n/de/about/Resources/Private/Language/Modules/de.about.xlf, line 91 in typo3\sysext\core\Classes\Localization\Parser\AbstractXmlParser.php:79 Stack trace: #0 typo3\sysext\core\Classes\Localization\Parser\AbstractXmlParser.php(60): TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser->parseXmlFile() #1 typo3\sysext\core\Classes\Localization\LocalizationFactory.php(111): TYPO3\CMS\Core\Localization\Parser\AbstractXmlParser->getParsedData('...', 'de') #2 typo3\sysext\core\Classes\Localization\LanguageService.php(317): TYPO3\CMS\Core\Localization\Loca in typo3\sysext\core\Classes\Localization\Parser\AbstractXmlParser.php on line 79

While the reason is quite well explained IMHO it’s unacceptable that it’s blocking the whole backend.
I think there should be a parser and when the result is positive the language is applied, else the default language or even empty labels.
In other words: keep it running as long as possible.

Version 9.3

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.