Project

General

Profile

Actions

Bug #85449

closed

Fault in Cachemanager ?

Added by David Bruchmann over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
Start date:
2018-07-02
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In the most recent github-version in

TYPO3\CMS\Core\Cache\CacheManager::getCache($identifier)

the follwing variable is empty:
$this->hasCache($identifier)

It blocks the whole system (FE, BE, Installtool), in general I don't know if it's about a fault from my side or about TYPO3.

Actions #1

Updated by Christian Kuhn over 6 years ago

Can't see an issue in the code: getCache() calls createCache() if the cache in question has not been created yet.

Have a look at your AdditionalConfiguration and ext_localconf & ext_tables files if you somewhere override $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations'] and mix that up by maybe deleting defined caches, not checking for isset() or similar. Screwing up cache definitions in AdditionalConfiguration is a relatively common problem.

Actions #2

Updated by Christian Kuhn over 6 years ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by David Bruchmann over 6 years ago

Thanks, issue can be closed.
I got it working even without hacking the core ;-)

Actions #4

Updated by Andreas Kienast over 6 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF