Project

General

Profile

Actions

Bug #91641

closed

setCacheConfigurations() in CacheManager is broken

Added by Rene Nitzsche almost 4 years ago. Updated over 1 year ago.

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

0%

Estimated time:
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?

Actions

Also available in: Atom PDF