Summary: | Division by zero errors in investement reports | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | zoltan1980 |
Component: | reports | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git (master) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/741e848593162aa670c735b812b0574dbb483907 | Version Fixed In: | 5.0.3 |
Sentry Crash Report: |
Description
zoltan1980
2018-12-30 14:45:50 UTC
I uploaded a fix for review. The instructions said the it will automatically get assigned, but it did not and complains that "This revision needs review, but there are no reviewers specified." https://phabricator.kde.org/D17871 I just added KMyMoney as reviewer in Phabricator. Git commit 741e848593162aa670c735b812b0574dbb483907 by Thomas Baumgart. Committed on 17/01/2019 at 07:28. Pushed by tbaumgart into branch '5.0'. Fix division by zero errors in QueryTable Summary: Code used to try to divide by zero. Fixed it to always check for the denominator being 0 beforehand. Original patch by Zoltan Ivanfi FIXED-IN: 5.0.3 Reviewers: #kmymoney, tbaumgart Reviewed By: #kmymoney, tbaumgart Subscribers: aacid, tbaumgart, ostroffjh Differential Revision: https://phabricator.kde.org/D17871 M +8 -5 kmymoney/plugins/views/reports/core/querytable.cpp M +28 -0 kmymoney/plugins/views/reports/core/tests/querytable-test.cpp M +1 -0 kmymoney/plugins/views/reports/core/tests/querytable-test.h https://commits.kde.org/kmymoney/741e848593162aa670c735b812b0574dbb483907 |