[ZODB-Dev] George Bailey'd objects cause failure in FileStorage._loadBack
Toby Dickenson
tdickenson@geminidataloggers.com
Thu, 31 Oct 2002 11:37:52 +0000
On Wednesday 30 October 2002 11:55 pm, Magnus Lycka wrote:
> As soon as I do an attribute access, I get the error below.
> b._p_deactivate() is just silent though.
Can you post a simple way to reproduce this?
> BTW, how does ZOPE behave on undo? How does it make sure
> there are no G.B'd objects?
All changed objects get deactivated. The unusual thing about GB objects i=
s=20
that they can not be automatically re-activated using their new state,=20
because they dont have a new state.
I think the correct behaviour would be a POSKeyError, rather than the mes=
s=20
that you posted.
Hmmm. For diagnosic purposes, would it be a useful to have:
class POSGeorgeBaileyKeyError(POSKeyError):
pass
?