Bug #88512

Flaws in accessing deprecated caches starting with "cache_"

Added by Oliver Hader almost 2 years ago. Updated almost 2 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

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
#1

Updated by Oliver Hader almost 2 years ago

  • Target version set to Candidate for Major Version
#2

Updated by Oliver Hader almost 2 years ago

  • Related to Task #88366: Streamline caching framework caches added
#3

Updated by Oliver Hader almost 2 years ago

  • Description updated (diff)
#4

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60892

#5

Updated by Oliver Hader almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#6

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
#7

Updated by Markus Klein about 1 year ago

  • Related to Bug #91306: Old cache configuration is not merged correctly added

Also available in: Atom PDF