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

2004-06-23 Thread Dario Lopez-Kästen
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 --

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

2004-06-23 Thread Dieter Maurer
Dario Lopez-Kästen wrote at 2004-6-17 11:01 +0200: >[ resend - never got to the list ] Zope's mailing lists currently seem to have problems... Traffic volume is down to a trickle, at least as seen from here... > ... >class Person(Acquisition.Implicit): > def __init__(self data): >

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

2004-06-23 Thread Roché Compaan
* Dario Lopez-Kästen <[EMAIL PROTECTED]> [2004-06-17 19:55]: > [ resend - never got to the list ] > > Dieter Maurer wrote: > >Your problem can be summarized by "storing acquisition wrappers > >(of persistent objects) across requests". > > > <...> > >You cannot store them in the ZODB as acquisition

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

2004-06-17 Thread Dario Lopez-Kästen
[ resend - never got to the list ] Dieter Maurer wrote: Your problem can be summarized by "storing acquisition wrappers (of persistent objects) across requests". <...> You cannot store them in the ZODB as acquisition wrappers cannot be stored there. Currently, the ZODB silently unmantles acquisitio