Actions
Bug #18161
closedMalformed translated locallang causes PHP crash
Start date:
2008-02-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.1
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
In t3lib_div::readLLXMLfile() errors in the locallang file are properly caught for the default language (i.e. an error message is displayed pointing to the invalid file), but not for translations (PHP fatal error occurs).
The attached patch copies for the translated file the same mechanism as for the default language file.
To reproduce that bug, you can simply replace a locallang file in typo3conf/l10n by an empty and see what happens. For example replace typo3conf/l10n/lang/[language_key].locallang_general.xml and try to view the page tree in the BE by going to Web > Page.
(issue imported from #M7445)
Files
Actions