On Oct 24, 2008, at 10:36 AM, Christian Theune wrote:

> 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.


Ah, cool.

Jim

--
Jim Fulton
Zope Corporation


_______________________________________________
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

Reply via email to