Bug: Transaction is Committed instead of Rollback'ed

Dave Peticolas dave@krondo.com
Wed, 14 Mar 2001 15:33:35 -0800


Derek Atkins writes:
> Sigh.  You're right; I can't reproduce this when I access a file:
> backend.  This means there is something that I'm not doing right
> when I load a transaction via RPC.  Any ideas what flags I might
> not be setting, or at least what's getting checked?

Ok, that is strange. Off the top of my head I'm guessing an
unbalanced xaccTransBeginEdit call.

In LedgerMoveCursor, the transaction is only commited if it
is 'Open', i.e., if a TransBeginEdit has been called but not
completed.

dave