After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 732688 - Accounts selected in saved report configuration are lost when switching between files
Accounts selected in saved report configuration are lost when switching betwe...
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Reports
2.6.3
Other All
: Normal normal
: ---
Assigned To: gnucash-reports-maint
gnucash-reports-maint
: 704519 741641 756375 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2014-07-03 13:37 UTC by aggiesam
Modified: 2018-06-29 23:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description aggiesam 2014-07-03 13:37:05 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.
Comment 1 Geert Janssens 2015-12-18 15:59:12 UTC
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).
Comment 2 Geert Janssens 2015-12-18 15:59:36 UTC
*** Bug 741641 has been marked as a duplicate of this bug. ***
Comment 3 Geert Janssens 2015-12-18 15:59:51 UTC
*** Bug 756375 has been marked as a duplicate of this bug. ***
Comment 4 Geert Janssens 2015-12-18 16:44:30 UTC
*** Bug 704519 has been marked as a duplicate of this bug. ***
Comment 5 John Ralls 2018-06-29 23:31:33 UTC
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.