On Mon, 2003-04-07 at 19:54, Toby Dickenson wrote:
On Monday 07 April 2003 5:19 pm, Florent Guillaume wrote:
Caches routinely pass persistent objects from one transaction to the next.
Are there any examples in stock Zope 2? I would consider this a bug.
Thanks for the pointers.
That was just the result of a quick grep, I'm sure I've missed some.
[...]
CMFCore.MemberDataTool does a cache of persistent MemberData objects in _v_temps.
I dont have a CMF handy - I may check this tomorrow.
Ok, from your exlanations, MemberDataTool should be now safe -- I patched it a few weeks ago to clear the cache at the end of the transaction using REQUEST._hold.
Is all this wrong ?
?
I meant, is all the above code using ad-hoc caches buggy in one way or another? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com