Bug #495

memcached cache backend with multiple FLOW3 installations will fail

Added by Karsten Dambekalns over 13 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Should have
Category:
Cache
Target version:
-
Start date:
2008-05-09
Due date:
% Done:

100%

Estimated time:
0.00 h
PHP Version:
Has patch:
Complexity:

Description

(as reported by Axel Hoogestraat)

The memcached backend (the filecache, as well) will not work properly, if there is more than on FLOW3 installation on a server.

In F3_FLOW3.php, for example, there is the following code: $componentConfigurationsCache->save('baseComponentConfigurations', $componentConfigurations);

The key 'baseComponentConfigurations' will be overwritten, if another FLOW3 installation will save the same key. But the configuration, that should be saved, could be different.

So, a possible solution is to add an prefix to the key, i think. The prefix could be the installation path of FLOW3 or something like an ID, that is configured in the FLOW3 configuration.

#1

Updated by Karsten Dambekalns over 13 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r820.

Also available in: Atom PDF