GNOME Bugzilla – Bug 652436
Saved budget reports are not properly converted from 2.0 to 2.4 format
Last modified: 2018-06-29 22:59:16 UTC
This is a follow up bug for the following bugs Bug 644772 Bug 647945 Bug 648392 All these bugs reported a crash when a budget report saved with GnuCash 2.2.x was opened with GnuCash 2.4.x. This crash has been fixed as of GnuCash 2.4.6, but the core issue isn't fixed yet. To make sure it isn't lost in the many questions regarding the crash, I decided to open a new bug report. It appears that a budget report saved with GnuCash 2.2.x doesn't save the budget it displays. When GnuCash 2.4.x loads the report it converts it to the 2.4 format. This format does save the budget, but since no budget was available in the old saved report, it is set to #f. I came to this conclusion by comparing attachment 18680 [details] ("Pre-upgrade custom reports") and attachment 18679 [details] [review] ("Post-upgrade custom reports") in bug 647945. Since as far as I can tell the budget is not saved in the old saved-reports format, I'm not sure we can do something to properly recover this during the conversion to the new format. Someone with more guile experience will have to give a definitive answer here. When you encounter this problem, you can restore the saved reports following this manual procedure (as explained in bug 647945): * Open all of your custom saved budget reports (the ones with problems) in separate tabs and keep them open until the end of this process. * When all your custom reports are open, open the Custom Reports dialog again and delete all the reports there that have problems. * Now for each report that is open in a tab: * Go to the Options dialog * select the proper budget for the report * Change the report name (for example add a .) * Click "Apply" * Change the report name back to what it was (remove the added .) * Click "Ok" * Save the report again to your custom reports * Close the report tab GnuCash should now remember the budgets again for your report.
Oops, I got the attachments wrong. They should be: Attachment 186080 [details] (Pre-upgrade) and Attachment 186079 [details] (Post-upgrade)
Reassign version to 2.4.x so that individual 2.4 versions can be retired.
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=652436. Please continue processing the bug there and please update any external references or bookmarks.