Project

General

Profile

Actions

Bug #22926

closed

EM translation handling fails in 4.1.13

Added by Wolfgang Zenker about 14 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
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

uapatch.diff (395 Bytes) uapatch.diff Administrator Admin, 2010-06-18 12:43

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #17988: EM should send TYPO3 version when connecting to TERClosedIngo Renner2008-01-13

Actions
Actions

Also available in: Atom PDF