AUDIT: r16836 - gnucash/trunk/src - Prevent crashing when a report template disappears (#505921).
Andrew Sackville-West
andrew at swclan.homelinux.org
Mon Jan 7 16:45:35 EST 2008
On Mon, Jan 07, 2008 at 09:01:28PM +0100, Christian Stimming wrote:
> 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!
/me blushes.
glad you like it.
A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080107/82456406/attachment.bin
More information about the gnucash-devel
mailing list