Actions
Bug #22926
closedEM translation handling fails in 4.1.13
Start date:
2010-06-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
The method fetchTranslationStatus() in /typo3/mod/tools/em/class.em_terconnection.php tries to submit the TYPO3 version used to the Extension repository by adding array(TYPO3_user_agent) to the getURL call since TYPO3 4.1.8. Unfortunately the constant TYPO3_user_agent is undefinded in TYPO3 versions up to and including 4.1.13. If your php is set to interpret undefinded constants as string, this results in an invalid request being sent to the repository and the fetching of the language file fails.
The problem does not exist in TYPO3 4.2.* and newer.
It can be fixed by adding a definition of TYPO3_user_agent to typo3/config_default.php, see attached patch
(issue imported from #M14777)
Files
Actions