Bug 400866 - Unable to create new investment: "Stock account cannot be parent account"
Summary: Unable to create new investment: "Stock account cannot be parent account"
Status: RESOLVED DUPLICATE of bug 392477
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Gentoo Packages Linux
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-09 02:54 UTC by lwilpan
Modified: 2019-07-03 16:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lwilpan 2018-11-09 02:54:38 UTC
SUMMARY

When creating a new investment, regardless of options chosen, I receive the error "Unable to create all objects for the investment."  The Details are as follows:

Stock account cannot be parent account caugt in /var/tmp/portage/app-office/kmymoney-5.0.1-r2/work/kmymoney-5.0.1/kmymoney/mymoney/mymoneyfile.cpp:1059

STEPS TO REPRODUCE
1. Create a new institution, filling in all required values
2. Create a new investment account associated to the institution, filling in all required values
3. Create a new investment within the investment account, filling in all required values

OBSERVED RESULT

Once the "Finish" button is pressed on the investment account wizard, the above error appears.

EXPECTED RESULT

The investment should be created without an error.

SOFTWARE VERSIONS
KDE Plasma Version: 5.10.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION

I thought I had seen another bug filed on this that had already been resolved, but now I can't find it.
Comment 1 Thomas Baumgart 2019-07-03 16:35:57 UTC

*** This bug has been marked as a duplicate of bug 392477 ***