[kmymoney] [Bug 445458] Investment Cap Gains by Account (Customized) crashes with my dataset. Changing the date of one ledger entry fixes the crash.

Thomas Baumgart bugzilla_noreply at kde.org
Sun Nov 14 12:23:14 GMT 2021


https://bugs.kde.org/show_bug.cgi?id=445458

Thomas Baumgart <thb at net-bembel.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/offi
                   |                            |ce/kmymoney/commit/f11f53c8
                   |                            |a61495c6ac65e938075af9f8a10
                   |                            |6d481
             Status|REPORTED                    |RESOLVED
   Version Fixed In|                            |5.1.3

--- Comment #2 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit f11f53c8a61495c6ac65e938075af9f8a106d481 by Thomas Baumgart.
Committed on 14/11/2021 at 12:22.
Pushed by tbaumgart into branch '5.1'.

Prevent a division by zero in Investment Cap Gains reports

When the sum of all buys in the reporting period was zero a division by
zero could happen
FIXED-IN: 5.1.3

(cherry picked from commit 16afce344c239ac7b1919dbff3d7f638ca4ac3cf)

M  +9    -4    kmymoney/plugins/views/reports/core/querytable.cpp

https://invent.kde.org/office/kmymoney/commit/f11f53c8a61495c6ac65e938075af9f8a106d481

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list