[ZODB-Dev] ZODB 3.9.3 history call causing problems for storages that still accept version parameters

Chris Withers chris at simplistix.co.uk
Fri Nov 20 05:47:23 EST 2009


Christian Theune wrote:
>> Traceback (most recent call last):
>>     File "ZODB3-3.9.3-py2.6-linux-i686.egg/ZEO/zrpc/connection.py", line
>> 581, in handle_request
>>       ret = meth(*args)
>>     File "gocept.zeoraid-1.0b6-py2.6.egg/gocept/zeoraid/storage.py", line
>> 219, in history
>>       assert version is ''
>>
>> There is no ZEOStorage instance involved in this as far as I can tell.
>> What am I missing?
> 
> Check the "setup_delegation" method: the history method is patched 
> through directly so your traceback doesn't see the ZEOStorage anymore.

OK, I've committed tests and patches to deal with this issue and the 
similar issue in ZEOStorage308Adapter on the 3.9 branch.

Should I merge these changes to the trunk too?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the ZODB-Dev mailing list