Closed (fixed)
Project:
Cache Router
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 May 2008 at 00:56 UTC
Updated:
16 Jun 2008 at 01:41 UTC
We enabled cacherouter across a multisite setup of drupal where each site requires it's own cache. So each site had it's own cache we set the prefix in the default bin:
$conf['cacherouter'] = array(
'default' => array(
'engine' => 'memcache',
'server' => array('localhost:11211'),
'shared' => TRUE,
'prefix' => $cache_prefix,
),
);
We noticed errors with the output on each site - in particular the wrong theme being used and upon further investigation noticed that the Cache class wasn't setting prefix from the default bin if a specific bin wasn't explicitly specified.
This patch fixes this problem by reverting to the prefix in default bin if it is set. Patch was made against HEAD.
This appears to be have been fixed in the large patch in http://drupal.org/node/262830
This patch was developed by IDG Australia
| Comment | File | Size | Author |
|---|---|---|---|
| cacherouter.prefix.patch | 784 bytes | triclops |
Comments
Comment #1
slantview commentedThank you. Committed in http://drupal.org/cvs?commit=118964
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.