[kmymoney] [Bug 402750] Rounding problems with stock split factor cause crashes and errors

Thomas Baumgart bugzilla_noreply at kde.org
Tue Jan 1 16:33:08 GMT 2019


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kmy
                   |                            |money/f800f7666ee31f64f8d17
                   |                            |bbf4c51585e006c4922
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.0.3

--- Comment #2 from Thomas Baumgart <thb at net-bembel.de> ---
Git commit f800f7666ee31f64f8d17bbf4c51585e006c4922 by Thomas Baumgart.
Committed on 01/01/2019 at 16:34.
Pushed by tbaumgart into branch '5.0'.

Don't change stock split factor by rounding

Rounding of the stock split factor may cause the factor to become zero
which will later result in a division by zero. The factor must not be
rounded to solve the problem.
FIXED-IN: 5.0.3

M  +1    -9    kmymoney/dialogs/investactivities.cpp
M  +6    -3    kmymoney/dialogs/investtransactioneditor.cpp
M  +6    -3    kmymoney/mymoney/mymoneyfile.cpp

https://commits.kde.org/kmymoney/f800f7666ee31f64f8d17bbf4c51585e006c4922

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


More information about the KMyMoney-devel mailing list