[ZODB-Dev] problem with broken

Christian Theune ct at gocept.com
Wed Nov 5 09:59:43 EST 2008


On Wed, 2008-11-05 at 16:02 +0200, Marius Gedminas wrote:
> On Wed, Nov 05, 2008 at 01:15:58PM +0100, Adam GROSZER wrote:
> > Thanks for the advices on the generation script, but I think the
> > problem lies in that the broken object is loaded fine but cannot be
> > written back again to ZODB.
> 
> Yes.  You can't do anything with broken objects.  They're there only so
> that you don't get an exception when loading an object that refers to
> a broken object.
> 
> > Or do I misunderstand that broken is a sort of proxy for the missing
> > class that allows it to be around?
> 
> Yes, but "being around" is a rather narrow goal that doesn't allow you
> to do anything with it.

You do can inspect the unpickled state.

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zodb-dev/attachments/20081105/55087bd8/attachment.bin 


More information about the ZODB-Dev mailing list