[Zope-dev] ZPatterns bug: typo in Transactions.py

Steve Alexander steve@cat-box.net
Thu, 14 Sep 2000 13:41:30 +0100


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