On Fri, 2008-10-24 at 15:22 +0100, Chris Withers wrote: > Christian Theune wrote: > > On Fri, 2008-10-24 at 15:06 +0100, Chris Withers wrote: > >> Christian Theune wrote: > >>> On Fri, 2008-10-24 at 09:51 -0400, Jim Fulton wrote: > >>>> 2. I doubt that blobs have been factored into ZODB exports. This is, > >>>> obviously, an oversight. > >>> They were factored in and we have tests. However, the initial pickle > >>> will empty them: copying blobs this way including their content isn't > >>> currently supported. > >> That doesn't sound like "factored in" to me, that sounds like bodged and > >> ignored ;-) > > > > No. I was pointing out that Jeff first does a pickle and then the > > export. *His* pickle breaks it. The export works: it exports the (then > > empty) blob. > > What should he have done to get the blob to export as expected?
Again: blobs export as expected. However, Jeff pickles/unpickles the subtree to get rid of the '__parent__' attribute. This and blobs' inability to get copied around in this specific manner make him end up with empty blobs. From the export mechanism's perspective he simply exported an empty blob. If the blob had data it would be there. Christian -- Christian Theune · [EMAIL PROTECTED] 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
Description: This is a digitally signed message part
_______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev