Summary: | Custom report based on Annual Budget incorrectly getting Actuals | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Stephane Couturier <contact> |
Component: | reports | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.0.3 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/f9fdfce0b07aff9e24589381f81ccbfff07ab55e | Version Fixed In: | 5.0.4 |
Sentry Crash Report: | |||
Attachments: |
default annual budget
custom annual budget (after save close re open) File created according to the description simple file with incorrect report |
Description
Stephane Couturier
2019-04-16 18:30:47 UTC
Created attachment 119445 [details]
default annual budget
Created attachment 119447 [details]
custom annual budget (after save close re open)
Created attachment 119500 [details]
File created according to the description
I am unable to duplicate the behavior you encounter. This does not mean that there is no bug but I cannot chase it.
Can you create such an (empty) file and attach it here, please? Likewise, I attach the file I created with version 5.0.3 here for you to verify if the problem is showing up with it as well. The report is called "Copy of Yearly Budget"
Updated status Created attachment 119536 [details]
simple file with incorrect report
Thanks a lot for looking into this :) The report you created is correct indeed. Actually, for the issue to be visible, at least one Budget needs to exist and be selected as the budget to be used by the report. - Go to Budget and create one (no need to change anything more) - Go to the Report copy, check that it is now using the new budget - Save, Exit, re open the file, then you may see that the report is also showing actuals and difference. I attached a simple file showing this. Git commit f9fdfce0b07aff9e24589381f81ccbfff07ab55e by Thomas Baumgart. Committed on 20/04/2019 at 20:58. Pushed by tbaumgart into branch '5.0'. Fix loading of report attribute "includingBudgetActuals" The budget report attribute "includingBudgetActuals" was not handled correctly when a file was loaded into memory. Existing files showing a problem cannot be fixed automatically. The respective reports need to be recreated by the user. Also, some more attributes needed a fixed seed to solve issue #396978. FIXED-IN: 5.0.4 M +5 -1 kmymoney/plugins/xmlhelper/xmlstoragehelper.cpp https://commits.kde.org/kmymoney/f9fdfce0b07aff9e24589381f81ccbfff07ab55e |