Actions
Bug #88045
closedalternativeLanguageKeys is overridden as string
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Localization
Target version:
-
Start date:
2019-04-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The function getLanguageKeys in the Extbase LocalizationUtility resolves the dependency of a language as "alternativeLanguageKeys". However, the empty array is overwritten by a string instead of supplementing it.
The following error is thrown in the frontend:
Argument 3 passed to TYPO3\CMS\Extbase\Utility\LocalizationUtility::initializeLocalization() must be of the type array, string given, called in [...]/typo3/sysext/extbase/Classes/Utility/LocalizationUtility.php on line 96
See typo3conf/sysext/extbase/Classes/Utility/LocalizationUtility.php:210
As example language you can use Brazilian Portuguese
Actions