[kmymoney] [Bug 418479] New: Posting historical investment transactions causes crash

JAH bugzilla_noreply at kde.org
Wed Mar 4 19:20:23 GMT 2020


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

            Bug ID: 418479
           Summary: Posting historical investment transactions causes
                    crash
           Product: kmymoney
           Version: 5.0.5
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: vanquestor at gmail.com
  Target Milestone: ---

SUMMARY
I frequently "catch up" with posting my investment transactions at the end of
the month and that sometimes involves creating new securities for transactions
that happened earlier in the month. This hasn't caused a problem before

Now, posting investment transactions dated prior to a Security's/Equity's
Opening_Date (kmmAccounts.openingDate) (which does not appear to be user
definable) causes kmmoney to crash consistently.

STEPS TO REPRODUCE
1. Create an new Investment Security as normal 
2. Post an Investment transaction (Buy) with a date prior to today's date (i.e.
the security's creation date)

OBSERVED RESULT
Kmymoney crashes

EXPECTED RESULT
Transaction should post as normal

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.12.8
KDE Frameworks Version: 5.55.0 and 5.45.0
Qt Version: 5.9.7 and 5.9.4

ADDITIONAL INFORMATION

Posting the same transaction using today's date or later is successful.

By saving the data in  a SQL database and then amending the security's
kmmAccounts.openingDate to a time earlier than the transaction date allows the
transaction to be posted without problem.

kmymoney is otherwise brilliant!

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


More information about the KMyMoney-devel mailing list