[Zope] Zope-2.8.1, LocalFS, and the importance of _p_jar
Dieter Maurer
dieter at handshake.de
Wed Nov 23 17:31:49 EST 2005
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
More information about the Zope
mailing list