Project

General

Profile

Actions

Bug #82166

closed

logic BUG in CacheManager::getCache()

Added by Benjamin Rannow over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
-- undefined --
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2017-08-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
CacheManager
Complexity:
no-brainer
Is Regression:
Sprint Focus:

Description

In the class: https://forge.typo3.org/projects/typo3cms-core/repository/revisions/master/entry/typo3/sysext/core/Classes/Cache/CacheManager.php#L118

the 2 if conditions makes no sense.
I think the Exception part can completely removed.

How is it even posible to create a new cache over getCache if everytime i tried, an exception is thrown.

Actions #1

Updated by Benjamin Rannow over 6 years ago

  • Description updated (diff)
Actions #2

Updated by Benjamin Rannow over 6 years ago

  • Priority changed from Should have to -- undefined --

I see my mistake, i need a CacheConfiguration for getCache.

otherwise I can register a custom Cache over registerCache

Actions #3

Updated by Stephan Großberndt over 6 years ago

  • Status changed from New to Needs Feedback

Can you please explain in more detail what you think to be a problem here?

Actions #4

Updated by Mathias Schreiber over 6 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF