Files
gnucash/libgnucash/app-utils
Christopher Lam a4789fcac5 bugfix: fix crasher when loading saved-report with unknown choices.
If a saved-report with e.g. relative date, multichoice option is
unknown, the report would crash, and the Report-Options would
segfault. This commit fixes both: report-date defaults to 'today',
multichoice-options defaults to default-value.

Following this commit, if a report loads a saved-report or .gcm from a
future version, a gnc:warn will be emitted and the report will not
crash; it will use relative-date today. Multichoice will remain the
default value. Report Options will not segfault.

The user will be notified via a gnc:gui-warn dialog
2019-02-17 11:25:06 +08:00
..
2017-08-10 18:45:00 +02:00
2018-07-13 09:49:33 -07:00
2017-12-20 14:55:40 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-20 14:55:40 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-07-27 14:23:15 +03:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00

After loading this module, you must also call

  (gnc:setup-gettext)
  (setlocale LC_ALL "")

at some point to finish initializing the app.  This is not done
automatically from gncmod-app-utils.c via app-utils.scm because you
may need to handle setlocale yourself (or you may already have other
code that does).