Bug #91641

setCacheConfigurations() in CacheManager is broken

Added by Rene Nitzsche 20 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2020-06-12
Due date:
% Done:

0%

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

Description

According to PHPDoc method setCacheConfigurations() should preserve existing cache configurations. Starting with version 10.4 it doesn't anymore. After adding a new configuration all existing ones are gone.

        $this->cacheConfigurations = array_replace_recursive($newConfiguration, $migratedConfiguration);

As a result, further access to other, uninitialized caches is no longer possible.

Is this new behaviour intentional or a bug?

Also available in: Atom PDF