AUDIT: r16836 - gnucash/trunk/src - Prevent crashing when a report template disappears (#505921).

Christian Stimming stimming at tuhh.de
Mon Jan 7 15:01:28 EST 2008


Am Montag, 7. Januar 2008 00:55 schrieb Andrew Sackville-West:
> Author: andrewsw
> Date: 2008-01-06 18:55:48 -0500 (Sun, 06 Jan 2008)
> New Revision: 16836
> Trac: http://svn.gnucash.org/trac/changeset/16836
>
> Modified:
>    gnucash/trunk/src/app-utils/options.scm
>    gnucash/trunk/src/report/report-system/report.scm
> Log:
> Prevent crashing when a report template disappears (#505921).
>
> If a report template is missing (renamed, moved, deleted, whatever)
> while the report is still open, then the app will crash while reading
> the books file. The options-generator will fail and cause subsequent
> attempts to access the options to fail and crash. A couple checks for
> the existence of options is all it takes. Also included a warning dialog.

Wonderful! Great! Hooray!

I've been waiting for an easy solution like this for the report-name issue 
forever! andrewsw be praised for this great bug resolution!

Thanks,

Christian


More information about the gnucash-devel mailing list