Summary: | Consistency check failure: currency of a category has no price set for 1900-01-01 | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Brendon Higgins <brendon> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mark, ralf.habacker |
Priority: | NOR | ||
Version: | 4.8.0 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/365c0f4fa75a291ff7447123cd0ca7b10c41f2bd | Version Fixed In: | 4.8.1,5.0.0 |
Sentry Crash Report: |
Description
Brendon Higgins
2016-07-06 02:18:30 UTC
I have a fix for this bug but I am concerned about potential side-effects. My fix is to exclude accounts of type IncomeExpense from the consistency check for missing prices on the opening date (mymoneyfile.cpp:2337). Is there any reason that a IncomeExpense category in a foreign (non-base) currency would require a price on the 'fake' account opening date of 1900-01-01? If not, I'll submit a review request. I currently don't see a problem with the proposed fix and don't expect any side-effects either. So please go ahead and submit your review request. Git commit 5ee94f58c7b43e5640bacce754c1e7a6720c7c5f by Albert Astals Cid, on behalf of Mark Jones. Committed on 21/01/2017 at 00:16. Pushed by aacid into branch '4.8'. Exclude IncomeExpense categories from opening date price consistency check REVIEW: 129702 M +4 -1 kmymoney/mymoney/mymoneyfile.cpp https://commits.kde.org/kmymoney/5ee94f58c7b43e5640bacce754c1e7a6720c7c5f Git commit 365c0f4fa75a291ff7447123cd0ca7b10c41f2bd by Albert Astals Cid, on behalf of Mark Jones. Committed on 21/01/2017 at 00:19. Pushed by aacid into branch 'master'. Exclude IncomeExpense categories from opening date price consistency check REVIEW: 129702 M +4 -1 kmymoney/mymoney/mymoneyfile.cpp https://commits.kde.org/kmymoney/365c0f4fa75a291ff7447123cd0ca7b10c41f2bd |