r14889 - gnucash/branches/2.0 - Avoid crash from opening transaction in more than one register. Bug #347089.

Derek Atkins warlord at cvs.gnucash.org
Sat Sep 23 19:46:21 EDT 2006


Author: warlord
Date: 2006-09-23 19:46:19 -0400 (Sat, 23 Sep 2006)
New Revision: 14889
Trac: http://svn.gnucash.org/trac/changeset/14889

Modified:
   gnucash/branches/2.0/
   gnucash/branches/2.0/ChangeLog
   gnucash/branches/2.0/src/register/ledger-core/split-register-control.c
   gnucash/branches/2.0/src/register/ledger-core/split-register.c
   gnucash/branches/2.0/src/register/ledger-core/split-register.h
Log:
   Avoid crash from opening transaction in more than one register. Bug #347089.
   In any case where we might be opening the transaction and marking it as the
   pending transaction, check first if it's already open.  If it is, we assume
   that it's being edited by another register.  We report the error and abort
   the action that would have opened the transaction.
   suspend events around the Commit().

(approved by warlord and chris)
Merge from r14495 and r14887.





More information about the gnucash-patches mailing list