Bug 273782 - Display of values of (some) sub-accounts missing in Accounts/Institutions view
Summary: Display of values of (some) sub-accounts missing in Accounts/Institutions view
Status: RESOLVED NOT A BUG
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: SVN
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-21 13:12 UTC by allan
Modified: 2011-05-22 11:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
data file (5.17 KB, application/x-kmymoney)
2011-05-21 18:48 UTC, allan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description allan 2011-05-21 13:12:43 UTC
Version:           SVN trunk (using KDE 4.6.0) 
OS:                Linux

In my Institutions view are showing the eight institutions I created,
plus the default containing the remaining accounts.  I appear to have two
issues.

1) Some of the institutions are 'virtual' - there's no corresponding
institution.  I am using it instead to group some stocks, to correspond
to the broker's account content.  Within the view, the individual
stocks are showing, with, in some cases, no value showing where there
should be a value corresponding to the ledger value.  One or more is
missing this detail in the Institution view, but the total for the
institution includes the missing amount/s.  What might be the reason
for this?

2) I then noticed that one of the suspect institutions cannot be edited
- that option does not appear, either in the context menu or the
  Institution menu.  The context menu shows an 'edit account' entry,
  which leads to one of the associated stocks.  Again, what might cause
  this?

A report - Account balances by institution - shows the correct details.

Reproducible: Didn't try

Steps to Reproduce:
Include some investments containing transactions in an institution.  Display the institution view.  For me, not all accounts show the values they have in Ledger view.

Actual Results:  
As above.

Expected Results:  
In Institutions view, the values of all accounts should display their values.

A separate but similar problem has just emerged.  I created an asset account having a checking sub-account.  I did an import into the sub-account, and this shows correctly in the ledger, but does not appear against that checking account, below the asset account, in Accounts view.
Comment 1 Thomas Baumgart 2011-05-21 13:42:41 UTC
It would be perfect if you could provide a sample file and some comments on how to see the problem with actual accounts/institutions/investments. That would reduce bug fix time tremendously. TIA.
Comment 2 allan 2011-05-21 18:48:56 UTC
Created attachment 60206 [details]
data file

Here's a small file containing an institution called 'Institution', with two investment accounts, 'stock' and 'stock2'.
In Institution view, 'stock' shows no value, whereas 'stock2' does show a value.

I don't know why that should be.  Report Account Balances by Institution shows both correctly.
Comment 3 David Houlden 2011-05-21 19:04:03 UTC
Allan, just out of interest I tried your test file and I see a value against both in Institution view.
stock 6214.94
stock2 1214.04
SVN 1232944 on KDE 4.5.5
Comment 4 Brendan 2011-05-21 19:09:57 UTC
I see values for both institutions also.

Version 4.5.90-svn1231640

----
Brendan





On Sat, May 21, 2011 at 10:04 AM, David Houlden <djhoulden@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=273782
>
>
>
>
>
> --- Comment #3 from David Houlden <djhoulden gmail com>  2011-05-21
> 19:04:03 ---
> Allan, just out of interest I tried your test file and I see a value
> against
> both in Institution view.
> stock 6214.94
> stock2 1214.04
> SVN 1232944 on KDE 4.5.5
>
> --
> Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> _______________________________________________
> KMyMoney-devel mailing list
> KMyMoney-devel@kde.org
> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>
Comment 5 allan 2011-05-21 20:21:02 UTC
Comment on attachment 60206 [details]
data file

Please ignore this file.
Comment 6 allan 2011-05-21 20:22:36 UTC
(In reply to comment #4)
> I see values for both institutions also.
> 
> Version 4.5.90-svn1231640
> 
> ----
> Brendan
> 
> 
> 
> 
> 
> On Sat, May 21, 2011 at 10:04 AM, David Houlden <djhoulden@gmail.com> wrote:
> 
> > https://bugs.kde.org/show_bug.cgi?id=273782
> >
> >
> >
> >
> >
> > --- Comment #3 from David Houlden <djhoulden gmail com>  2011-05-21
> > 19:04:03 ---
> > Allan, just out of interest I tried your test file and I see a value
> > against
> > both in Institution view.
> > stock 6214.94
> > stock2 1214.04
> > SVN 1232944 on KDE 4.5.5
> >
> > --
> > Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
> > ------- You are receiving this mail because: -------
> > You are the assignee for the bug.
> > _______________________________________________
> > KMyMoney-devel mailing list
> > KMyMoney-devel@kde.org
> > https://mail.kde.org/mailman/listinfo/kmymoney-devel
> >

Ahem!  Er, thank you both.  My first thought was, 'Oh, I'm behind with my updates. I'm on Version 4.5.90-svn1232619', but then I saw Brandan's was older than mine.

Closed KMM, and reopened, and voila! my Institutions view is now OK.

That is, so far as the test file is concerned.  Sadly though, my production file, is still wrong in the same way, and is more complicated, of course.

So, please ignore the test file I sent.  Except, why did it take a reload to update the Institutions view.  Have I heard of something like that before?
Comment 7 Cristian Oneț 2011-05-21 21:11:11 UTC
You don't actually have to provide a file that shows the bug as you just open it. You could provide the file + some clear instructions (like entering and investment transaction) on how to obtain the inconsistency so we can fix it from there.
Comment 8 allan 2011-05-22 01:14:08 UTC
On Sat, 21 May 2011 21:11:11 +0200 (CEST)
Cristian Onet <onet.cristian@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=273782
> 
> 
> 
> 
> 
> --- Comment #7 from Cristian Onet <onet cristian gmail com>
> 2011-05-21 21:11:11 --- You don't actually have to provide a file
> that shows the bug as you just open it. You could provide the file +
> some clear instructions (like entering and investment transaction) on
> how to obtain the inconsistency so we can fix it from there.
> 

BKO is down so replying here.

Looking again at this, I do find it a bit puzzling, but I think I can
see why there may be differences between the way two of the institutions
appear, although I don't know why it should be so.

I have two institutions which contain several investment accounts.
Looking at them in Institutions view, one has values against all
accounts except one.  The other institution shows no values against any
account.

What I've realised is that, in the first one, three accounts share the
same security, three share a different one, and the third, the one that
shows no value, does not share its security.  In the second
institution, none of the accounts share their securities.

Why that should be so, I don't know, but in the scheme of things, there
are more important matters needing attention.  I'm happy for this bug
to be closed.

Allan