Bug #21140

translateTools not instantiated in t3lib/class.t3lib_recordlist.php

Added by Susanne Moog over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-09-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Introduced in Revision 5814 (http://forge.typo3.org/repositories/diff/typo3v4-core?rev=5814) the translateTools are no longer instantiated in t3lib/class.t3lib_recordlist.php. This produces a fatal error for example in ext: commerce trying to use "initializeLanguages" where it's needed:

$this->languageIconTitles = $this->translateTools->getSystemLanguages($this->id, $this->backPath);

Reproduce: use commerce and click "Stammdaten" (Don't currently know the English term)
(issue imported from #M12060)


Files

12060.diff (567 Bytes) 12060.diff Administrator Admin, 2009-11-13 11:10

Related issues

Related to TYPO3 Core - Bug #20910: speed up list module by improving internal handling of localisationsClosedRupert Germann2009-08-21

Actions
#2

Updated by Frank Mey about 12 years ago

I can confirm that issue, as Susanne said the translateTools object is not longer initiated - using the commerce 0.12.x version still throws that error message although TYPO3 4.3.0beta3 source seems fixed up to rev5824 --- whats going wrong ??

#3

Updated by Rupert Germann about 12 years ago

I added a patch which initialises the translateTools object if it is not present.
this patch should also fix the issue with templavoila #12536

#4

Updated by Rupert Germann about 12 years ago

fixed by follow-up patch for bug #0011764
committed to trunk, rev 6424

Also available in: Atom PDF