[kmymoney] [Bug 396174] New: Cannot create new investment

Wolfgang Rohdewald bugzilla_noreply at kde.org
Wed Jul 4 21:57:33 BST 2018


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

            Bug ID: 396174
           Summary: Cannot create new investment
           Product: kmymoney
           Version: 5.0.0
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: wolfgang at rohdewald.de
  Target Milestone: ---

maybe this should be several bug reports.

1. Help/About says I have version 5.0.0, but the detail error message below
seems to say I have 5.0.1

When creating a new investment, I get

       Unable to create all objects for the investment

The second bug is that pressing the button "Details" does not show any details.
They only get visible if I manually enlarge the window. It should enlarge
itself automatically.

The detailled error message says:

Stock account cannot be parent account caugt in
/build/kmymoney-8Tb1zm/kmymoney-5.0.1/kmymoney/mymoney/mymoneyfile.cpp:1059

So what exactly is a stock account? I cannot see this anywhere in the user
interface, there it seems to be an Equity. So maybe the error message should be
"Equity cannot be parent" - that would certainly have helped me to discover a
workaround solution, see below.

How to reproduce:

1. select the page "Investments"
2. select an account
3. now one of the equities has light blue as background
4. right mouse click BELOW the list of equities: Now I can add an equity,
everything is fine.
5. now one of the equities has DARK blue as background
6. right click anywhere and create new equity. The above error appears.

It seems that kmymoney tries to use a selected equity as parent for the new
equity. I cannot imagine a situation in real life where this makes sense.

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


More information about the KMyMoney-devel mailing list