[kmymoney] [Bug 445591] New: Enter a dividend payment transaction in foreign currency and kmymoney crashes

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Nov 16 14:35:49 GMT 2021


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

            Bug ID: 445591
           Summary: Enter a dividend payment transaction in foreign
                    currency and kmymoney crashes
           Product: kmymoney
           Version: 5.1.2
          Platform: Other
                OS: macOS
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: labm.4v70 at gmail.com
  Target Milestone: ---

Created attachment 143627
  --> https://bugs.kde.org/attachment.cgi?id=143627&action=edit
bug description

SUMMARY
The value of the total amount of the dividend transaction is correct and
expressed in the brokerage account currency EUR but prefixed with SEK.  
Enter the transaction and KMM crashes.


STEPS TO REPRODUCE
1. Base currency : EUR
2. Create an investment account in currency EUR and its brokerage account in
currency EUR
3. In the investment account create a security in currency SEK
4. Enter a Dividend transaction with fees and dividend in SEK with conversion

OBSERVED RESULT
1. The total amount of the transaction is correct but the prefix is wrong.
2. Enter the transaction and KMM crashes (see the trace report).

EXPECTED RESULT
1. As the brokerage account is in currency EUR the total amount of the
transaction should be prefixed with EUR.  The amount of Fees and Interest
should also be prefixed by the corresponding currency of the category as it
could be different of EUR or SEK (it is allowed by KMM in the definition of a
category).
2. … no crash  

SOFTWARE/OS VERSIONS
KMyMoney : Version 5.1.2-893f55a43
Windows: 
macOS: 10.13.6 (17G14042)
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2 (built against 5.15.2)
The cocoa windowing system

ADDITIONAL INFORMATION
See attached file for :
a- a detail description with screenshots 
b- a kmymoney file to easily reproduced the problem
c- a crash report

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


More information about the KMyMoney-devel mailing list