Project

General

Profile

Actions

Bug #22072

closed

typo in BE cache init section

Added by Vladimir Podkovanov almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-02-06
Due date:
% Done:

0%

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

Description

In typo3/init.php there are lines:

if (TYPO3_UseCachingFramework) {
$typo3CacheManager = t3lib_div::makeInstance('t3lib_cache_Manager');
$typo3CacheFactory = t3lib_div::makeInstance('t3lib_cache_Factory');
$typo3CacheFactory->setCacheManager($typo3CacheManager);

t3lib_cache::initPageCache();
t3lib_cache::initPageSectionCache();
t3lib_cache::initContentHashCache();
unset($cacheFactoryClass);
}

note line unset($cacheFactoryClass);
but no $cacheFactoryClass var in the code before, probably should be unset($typo3CacheFactory) instead

(issue imported from #M13448)


Files

13448_01.diff (408 Bytes) 13448_01.diff Administrator Admin, 2010-02-07 21:48
13448_follow_01.diff (428 Bytes) 13448_follow_01.diff Administrator Admin, 2010-02-07 23:27

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #19555: make t3lib_cache_Manager a true singletonClosed2008-11-02

Actions
Actions #1

Updated by Christian Kuhn almost 15 years ago

Thanks for the report!

Committed to:
- trunk rev. 6868
- 4-3 rev. 6869

Actions #2

Updated by Christian Kuhn almost 15 years ago

Committed follow-up:

  • trunk rev. 6872
  • 4.3 rev. 6873
Actions

Also available in: Atom PDF