GNOME Bugzilla – Bug 732688
Accounts selected in saved report configuration are lost when switching between files
Last modified: 2018-06-29 23:31:33 UTC
I have several GnuCash files with different accounts in each. I have saved report configurations that would apply to different files. When I switch files and try to load the saved report configuration for that file, the accounts I had selected earlier are no longer selected. It seems like Gnucash had determined that the accounts had not existed in the previous file, and so discarded the selection, even if I don't try to run the report that is not setup for that particular file. e.g. I have 2 files, FILE_A, and FILE_B, and within each file I have 3 accounts, A1, A2, A3, B4, B5, B6 and C7, C8, C9 (all different hierarchies and names in each file). I set up a saved report configuration based on the Net Worth Linechart and selected accounts A1 and A2 in FILE_A, and B5 and B6 in FILE_B. Under the saved report configurations I have 3 entries REPORT_A, and REPORT B. If I am in FILE_A, I can run REPORT_A, however if I switch to FILE_B, the accounts I selected for REPORT_B are no longer selected and I have to reselect them. If I switch back to FILE_A, the REPORT_A may also now be affected and it's accounts no longer selected.
Thank you for your report. The basic problem here is that saved report configurations are not tied directly to a specific gnucash data file. Instead they are all stored in a common file, used by gnucash in general. However if not all gnucash data files have the exact same set of accounts, gnucash will drop selections when loading the report definitions. IMO will be to associate saved report configurations with the data file for which they were generated. To make it easier to exchange such configurations between data files, an export/import function would be useful. There are several bug reports that were triggered by more or less the same basic issue. I'll mark all of the others as duplicates of this one (as this one is the oldest I found so far).
*** Bug 741641 has been marked as a duplicate of this bug. ***
*** Bug 756375 has been marked as a duplicate of this bug. ***
*** Bug 704519 has been marked as a duplicate of this bug. ***
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=732688. Please continue processing the bug there and please update any external references or bookmarks.