[ZCM] [ZC] 1941/ 1 Request "savepoint state survives across close"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sun Nov 6 18:21:32 EST 2005


Issue #1941 Update (Request) "savepoint state survives across close"
 Status Pending, Database/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1941

==============================================================
= Request - Entry #1 by tim_one on Nov 6, 2005 6:21 pm


Uploaded:  "what.py"
 - http://www.zope.org/Collectors/Zope/1941/what.py/view
See thread here:

<http://mail.zope.org/pipermail/zodb-dev/2005-November/009427.html>

The attached `what.py` is a simplified test case.  In general, the current transaction should be committed or aborted before closing a connection.  This code doesn't.  But ZODB doesn't raise ConnectionStateError in this case, nor does it manage to clean up all the bits left behind by the savepoint that got made.  This causes "crazy" errors later.
==============================================================



More information about the Zope-Collector-Monitor mailing list