[kmymoney] [Bug 430178] App freezes when toggling currency in investment performance report

Thomas Baumgart bugzilla_noreply at kde.org
Sun Dec 13 07:20:50 GMT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/offi |https://invent.kde.org/offi
                   |ce/kmymoney/commit/2e1912fc |ce/kmymoney/commit/5053e4ec
                   |639f5471f8f57d6979c182cc0b1 |d556470c59db7fd42601be814f2
                   |26854                       |f0b9f

--- Comment #2 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit 5053e4ecd556470c59db7fd42601be814f2f0b9f by Thomas Baumgart.
Committed on 13/12/2020 at 06:33.
Pushed by tbaumgart into branch 'master'.

Fix infinite loop in reports

The exchange algorithm for the total rows always kept exchanging the
last two entries with themselves and never ended. This is caused by
totals for multiple currencies.

This change detects this scenario and avoids the infinite loop.
FIXED-IN: 5.1.1

(cherry picked from commit 2e1912fc639f5471f8f57d6979c182cc0b126854)

M  +8    -2    kmymoney/plugins/views/reports/core/querytable.cpp

https://invent.kde.org/office/kmymoney/commit/5053e4ecd556470c59db7fd42601be814f2f0b9f

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


More information about the KMyMoney-devel mailing list