Bug #22926
closedEM translation handling fails in 4.1.13
0%
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
Updated by Chris topher over 14 years ago
Hi Wolfgang,
seems like that line was forgotten when introducing the usage of TYPO3_user_agent.
TYPO3 4.1 is rather old and will become unsupported very soon.
However, please post your patch to Core List, also pointing out that it is a follow up to #17988.
Check out http://typo3.org/teams/core/core-mailinglist-rules
Updated by Ingo Renner over 14 years ago
4.1 is not supported anymore, starting tomorrow (June 22nd) http://typo3.org/download/packages/
as it will move to the obsolete status by releasing TYPO3 4.4
Updated by Chris topher over 14 years ago
Basically Ingo is right. I just did not want to write "You can try getting your fix in the Core - but you must be ready tomorrow."
Wolfgang, thanks for your work anyway!
If you find bugs in current versions (4.3.x, 4.4.x, trunk), just propose a patch (exactly as you did) and your fixes will get included. TYPO3 4.1 is just too old.
Thanks again!