7 Apr
2003
7 Apr
'03
4:19 p.m.
Toby wrote:
It is important that the objects passed from one transaction to the next are non-persistent, otherwise bad zodb-level things can happen. Does Zope 3 guard against this?
I do not see this.
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.
ZCTextIndex caches a persistent lexicon in _v_lexicon. DC.ZRDB.DA caches Bucket() which I think are persistent in _v_cache. CMFCore.MemberDataTool does a cache of persistent MemberData objects in _v_temps. Is all this wrong ? Florent -- Florent Guillaume, Nuxeo (Paris, France) +33 1 40 33 79 87 http://nuxeo.com mailto:fg@nuxeo.com