Cachemanager duplicates the cache id when copied

Bug #534653 reported by LeoRochael on 2010-03-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zope 2
Fix Released
Medium
Unassigned

Bug Description

When a RAMCacheManager or AcceleratedHTTPCacheManager is copied in the ZMI, its cacheid is not recreated resulting in two different cache managers caching to the same location.

See attached patch that adds a test showing cloned cache managers returning the same cache.

LeoRochael (leorochael) wrote :

Attached is another patch with the above test and its solution.

Will commit to Zope 2.12 and trunk in 2 days if no comment is received.

Should other branches receive this fix as well?

Tres Seaver (tseaver) wrote :

+1 for merging that patch to the 2.12 branch and the trunk.

I don't know if I would bother with earlier branches, unless you have need to support that usecase yourself on an earlier version.

LeoRochael (leorochael) wrote :

Fix commited to branch 2.12 and trunk

Changed in zope2:
status: New → Fix Committed
Changed in zope2:
milestone: none → 2.12.4
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers