[Kmymoney-devel] [Bug 309105] Crash after editing security

allan agander93 at gmail.com
Thu Nov 15 21:30:03 UTC 2012


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

--- Comment #11 from allan <agander93 at gmail.com> ---
(In reply to comment #9)
> Git commit a5371f1e0ad7b42c7cfd1a2790108abbac96a732 by Cristian Oneț.
> Committed on 15/11/2012 at 20:51.
> Pushed by conet into branch 'master'.
> 
> Fix the investment accounts handling in the institutions view.
> Make the investment accounts the only accounts that are added
> to their parent in the institutions view. The rest of the
> accounts are added at the first level because they don't inherit
> the institution from their parent. Thanks to Allen for working on
> this.
> 
> M  +15   -1    kmymoney/models/accountsmodel.cpp
> 
> http://commits.kde.org/kmymoney/a5371f1e0ad7b42c7cfd1a2790108abbac96a732

I'm not sure this is right, I'm afraid.

I have a test file with no institutions.  There is an existing investment with
five stocks below it.  All looks correct in Institutions view.  If I create a
new investment account, isolated, the existing five stocks in the other
investment account are all duplicated in Institutions view.  The new account
looks OK.  If I add a stock to it, Institutions view shows it as having two
identical stocks.  The other investment account, with the duplicated stocks,
now has them in triplicate.

If I now create a new institution, and add the new investment account, with its
apparent duplicate stocks, now only one stock is showing.

If I now create another investment account, all existing accounts get another
stock., and when I add a stock to it, more get added.

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


More information about the KMyMoney-devel mailing list