23 Nov
2005
23 Nov
'05
10:31 p.m.
John Ziniti wrote at 2005-11-22 13:26 -0500:
I've encountered the issue described here:
http://mail.zope.org/pipermail/zope/2005-August/161120.html
on a recently upgraded Zope using LocalFS. I have tracked down the issue to the fact that the object that LocalFS "hands" to ZODB is a WrapperObject, and this object does not have an oid. This raises an AssertionError during the _commit method of ZODB.Connection.
Congratulation!
.... The problem I have with my "solution" is that I have no clue what _p_jar is.
It is the ZODB connection a persistent object was loaded from. Only a persistent object (which come from the ZODB) should have it. Non persitent wrappers should lack it. -- Dieter