Sotring __of__(self) wrapped Objects OK? (was Re: [Zope-dev] Storing references ... accross requests)

Dario Lopez-Kästen dario at ita.chalmers.se
Mon Jun 21 03:21:19 EDT 2004


Dieter Maurer wrote:
> Whether or not you unwrap yourself or let the ZODB do it:
> you loose the acquisition context. Later when you access
> your object again (load it), you must rewrap the object.
> When the object is stored as an attribute of a persistent
> object this rewrapping happens automatically -- but
> usually not with the original context!

Thak you again, Dieter. this ie s eaxctly what I needed. The loss of the 
acquisition context is not a problem in this particuklar context, since 
the context will always be a specific path in the ZODB (the path to the 
instance of a cmf-tool).

Thanks again.

/dario

-- 
-- -------------------------------------------------------------------
Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.



More information about the Zope-Dev mailing list