Project

General

Profile

Actions

Bug #22926

closed

EM translation handling fails in 4.1.13

Added by Wolfgang Zenker almost 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 #1

Updated by Chris topher almost 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

Actions #2

Updated by Ingo Renner almost 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

Actions #3

Updated by Chris topher almost 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!

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF