[Kmymoney-devel] [Bug 271914] Crash in Reports - Investment

allan agander93 at gmail.com
Fri May 6 01:21:46 CEST 2011


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





--- Comment #6 from allan <agander93 gmail com>  2011-05-06 01:21:44 ---
This current crash is reproducible.  The first time, I used existing accounts,
removed any transactions and prices.  This time I deleted the security account,
and added two new stocks.  In the first, securityA, I did an add of 100 on 20
Apr. Then I sold those @ price 1 on 28 Apr.  Then I bought 50 securityB @ price
2 on the same day.  When I tried to do an Investment report by account, KMM
crashed immediately.  A consistency check objected to the lack of a price for
both securities on or prior to today, 5 May.  So. although I'd entered prices
for both for 28 Apr, these were not in the prices table, hence the consistency
alert, and possibly, the crash.

I'll now try to produce a file with a price manually added for 28 Apr. for
securityA, and on 1 May for securityB, to satisfy the consistency check.  The
consistency check doesn't object, but the crash still happens. Now, I'll
manually add a price for  securityB for 28 Apr.  Still it crashes.  The only
way I found to avoid the crash was to select a different report type and change
the 'to date' to 6 Apr, before the security transactions.

OK, now I have a file.  If you change the 'to date' to 28 Apr, the crash
occurs.
I'll send the file privately.  As far as I can see, it's valid.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list