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

Updated by Oliver Hader almost 5 years ago

  • Target version set to Candidate for Major Version
Actions #2

Updated by Oliver Hader almost 5 years ago

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

Updated by Oliver Hader almost 5 years ago

  • Description updated (diff)
Actions #4

Updated by Gerrit Code Review almost 5 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

Actions #5

Updated by Oliver Hader over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions #7

Updated by Markus Klein almost 4 years ago

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

Also available in: Atom PDF