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 691910 - Request for enhancement to Reports
Request for enhancement to Reports
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Reports
2.4.x
Other All
: Normal enhancement
: ---
Assigned To: Christian Stimming
gnucash-reports-maint
: 691909 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-01-17 00:59 UTC by David Carlson
Modified: 2018-06-29 23:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Carlson 2013-01-17 00:59:37 UTC
It is very easy to open a saved report or even to retain a configured report in an account tab by not closing the tab.  This sets up the possible scenario of having a report which is not able to be refreshed accurately if the chart of accounts has changed since the report was configured.

To warn the user if this scenario arises, I propose the following enhancement:

Include in every report configuration either a status bit called Dirty_COA or a fingerprint hash representing the Chart of Accounts as it exists when the report is configured.  If a status bit is used, reset the bit when the report is configured.  Whenever the Chart of Accounts is changed by adding or deleting an account, set this bit in every existing report in the custom report folder or in the account tabs.

Then, whenever the user selects the open report tab or opens any saved custom report, check this status bit.  If it is true, activate a warning in the report title that the Chart of Accounts has changed since the report was built and it may not accurately reflect the current information in the file.
Alternatively, if a chart of accounts fingerprint is used, compare the current fingerprint with the fingerprint saved in the report configuration.  Again use a difference to trigger a warning.

Refreshing an open report would not change the flag, but it would cause the flag test to be executed.
Comment 1 Mike Evans 2013-01-17 12:44:45 UTC
*** Bug 691909 has been marked as a duplicate of this bug. ***
Comment 2 John Ralls 2017-09-24 22:18:08 UTC
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
Comment 3 John Ralls 2018-06-29 23:13:00 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=691910. Please continue processing the bug there and please update any external references or bookmarks.