Project

General

Profile

Actions

Bug #88512

closed

Flaws in accessing deprecated caches starting with "cache_"

Added by Oliver Hader almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Start date:
2019-06-06
Due date:
% Done:

100%

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

Description

In #88366 the cache_ prefix has been deprecated. However, when retrieving a deprecated cache like cache_subject its identifier gets transformed to subject which is (probably) not available in cache configuration keys. That's why keys of cache configurations have to be transformed as well.

This behavior is reproducible with

  • typo3/cms-core@3ea9c996363acd578a304630857314d427506c80
  • georgringer/news@4582db9927b93a282634a23ebd84e1354386b52c
(1/1) #1203699034 TYPO3\CMS\Core\Cache\Exception\NoSuchCacheException
A cache with identifier "news_category" does not exist.

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #88366: Streamline caching framework cachesClosedBenni Mack2019-05-15

Actions
Related to TYPO3 Core - Bug #91306: Old cache configuration is not merged correctlyClosedMarkus Klein2020-05-05

Actions
Actions

Also available in: Atom PDF