Issue Bug Closed

#91641setCacheConfigurations() in CacheManager is broken

Rene Nitzsche 06/12/20, 21:06 updated 09/24/22, 14:24

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?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.