Actions
Bug #85376
closedCorrupted translation file blocks complete backend
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Localization
Target version:
Start date:
2018-06-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
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
Updated by Susanne Moog about 6 years ago
- Target version changed from 9 LTS to Candidate for patchlevel
Updated by Georg Ringer about 5 years ago
- Status changed from New to Rejected
Thanks for creating this issue.
I am still closing this issue as a language file will never be created by an editor but either by a developer or imported from a translation server. In both cases the system should fail if there is an issue
Actions