r23159 - gnucash/trunk/src/report/report-system - Prevent 2.4 from crashing when loading a book that was opened with 2.6 before.

Geert Janssens gjanssens at code.gnucash.org
Wed Sep 4 08:55:50 EDT 2013


Author: gjanssens
Date: 2013-09-04 08:55:49 -0400 (Wed, 04 Sep 2013)
New Revision: 23159
Trac: http://svn.gnucash.org/trac/changeset/23159

Modified:
   gnucash/trunk/src/report/report-system/report.scm
Log:
Prevent 2.4 from crashing when loading a book that was opened with 2.6 before.

The core issue is that open reports are using a new restore function in 2.6,
which doesn't exist in 2.4 and older. The restore code now checks for the
existence of this new function and falls back to the old one if necessary.
The (mild) side effect is that in 2.4 any link to a custom template is lost.



More information about the gnucash-patches mailing list