Derek Atkins writes: > The more I delve into this, the more I find. What's going on is that > the register winds up calling SplitLedger.c:LedgerTraverse(). It > winds up, at the bottom of the function, following the path of > GNC_VERIFY_NO. For some reason this never winds up calling > RollbackEdit(), as far as I can tell. > > Anyways, the 'No' path winds up breaking out and returning 'FALSE', > which is the same thing that 'Yes' returns. Yes but first the 'No' path calls xaccSRCancelCursorTransChanges which may call xaccTransRollbackEdit if needed. Note that a rollback is not always needed. The register doesn't actually change the transaction unless you record or edit multiple lines. Is that the case here? dave _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] http://www.gnumatic.com/cgi-bin/mailman/listinfo/gnucash-devel
- Re: Bug: Transaction is Committed instead of Rollback'ed Dave Peticolas
- Re: Bug: Transaction is Committed instead of Rollback'... Derek Atkins
- Re: Bug: Transaction is Committed instead of Rollb... Dave Peticolas
- Re: Bug: Transaction is Committed instead of R... Derek Atkins
- Re: Bug: Transaction is Committed instead ... Dave Peticolas
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Dave Peticolas
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed instead ... Derek Atkins
- Re: Bug: Transaction is Committed ins... Dave Peticolas
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Dave Peticolas
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Dave Peticolas
- Re: Bug: Transaction is Committed ins... Derek Atkins
- Re: Bug: Transaction is Committed ins... Derek Atkins
