Stephan Richter wrote:
> On Thursday 11 May 2006 10:06, Philipp von Weitershausen wrote:
>> On the other hand, it seems that the BBB packages that would guarantee
>> the pickle to be loaded were not included in the release
> This is not enough. You are required to provide BBB *and* generation scripts
> for objects that are referenced in the ZODB
If you tell me how to do it, I'll be happy to. As said, I asked Jim
before and he just said that the object-iteration APIs of ZODB weren't
yet "plumbed through."
I'll also state again that NO persistent class was moved. I'm therefore
not sure if the object-iteration APIs would even help with this problem
as they might only return persistent objects, not arbitrary references
to non-persistent objects.
>> And yes, no generation scripts were written. Why? Because
>> a) there doesn't (yet) seem to be an API that lets you iterate over
>> objects (perferrably of a certain class) in the ZODB so that you could
>> have them repickled (at least that's what Jim told me when I asked him)
>> b) no persistent class was moved for this reason. Of course,
>> non-persistent classes might still have been pickled. However, IIRC even
>> if we had such an API described in a), it wouldn't be of any use because
>> the objects that were moved don't have their own pickle but live in the
>> pickle of some persistent object that makes a reference to it.
>> As said, BBB packages were provided, but not included in the release.
>> This is a packaging problem.
Zope3-users mailing list