Gnucash CVS broken again - ? Not on FC3/OSX/Debian.

Didier Vidal didier-devel at 9online.fr
Sun Oct 2 03:23:16 EDT 2005


[...]
> 
> You also made the same mistakes with exit conditions in the conversion
> of QOF_BEGIN_EDIT from a macro to a function.  In this case you got
> lucky that there was no code in xaccAccountBeginEdit() following the
> call to qof_begin_edit() so the code ends up working as expected.  If
> code is ever added to this function after the call to qof_begin_edit()
> then all bets are off.

There is a crash condition that is solved if you replace
qof_begin_edit() by the macro in xaccTransBeginEdit () [Transaction.c].

Condition:
In the register, edit partially a new transaction (set date, name,
target account, but no amount). Then give the focus to an other row.
When gnucash asks whether to save the transaction, say no.

I'll post a patch for this.

Didier.




More information about the gnucash-devel mailing list