On Mon, May 9, 2011 at 2:08 PM, Andreas Jung <li...@zopyx.com> wrote:
> Jup - basically a stripped down version of
> http://svn.plone.org/svn/collective/collective.examples.userdata/trunk/collective/examples/userdata/

Hhm, that code has

which ends up storing an instance of the object inside the ZODB.

I'm not sure what happens there exactly. The object should definitely
inherit from persistent, if you want to store it in the ZODB. As it is
now, it might only accidentally get stored at all, if the local site
managers _utility_registrations object gets _p_changed set to True.

In any case just putting in persistent into the base classes should be
the easiest fix.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to