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 http://svn.plone.org/svn/collective/collective.examples.userdata/trunk/collective/examples/userdata/profiles/default/componentregistry.xml 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. Hanno _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev