[Zope] OFS.History (question 2)

Dieter Maurer dieter at handshake.de
Mon Jan 24 13:25:13 EST 2005


Pascal Peregrina wrote at 2005-1-24 09:15 +0100:
> ...
>Now I've got a more serious problem.
>I have a CMF Document that wraps a PageTemplate object (it does not extend
>PageTemplate, but internally stores a PageTemplate instance).
>
>It looks like when some revision of my object is retreived from ZODB, this
>does not include the wraped persistent objects that my object may contain.
> ...

Indeed: each persistent object has its own independent history.

>Is there a workaround for this ?

When you have complex objects (consisting of several persistent objects),
you must merge the histories of the components or select
one (major) component to define the history of the compound.

-- 
Dieter


More information about the Zope mailing list