ZPatterns, latest released version.
    def abort_sub(self, transaction):

In Transactions.py, aborting a subtransaction will fail because of a
method signature mismatch.

Was:

    def abort_sub(self, transaction):
        self.tpc_abort()

Should be:

    def abort_sub(self, transaction):
        self.tpc_abort(transaction)


I think there's something not quite right about the way ZPatterns is
handling subtransactions, even with this patch, and the other one
related to Transactions.py that I posted a while back.

Is there any detailed documentation about how Zope transactions and
subtransactions are supposed to work?

--
Steve Alexander
Software Engineer
Cat-Box limited
http://www.cat-box.net

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to