Bug 317243

Summary: Add new investment cause error (any type of investment)
Product: [Applications] kmymoney Reporter: Milan <tmp27>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: onet.cristian, ralf.habacker
Priority: NOR    
Version: 4.6.3   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description Milan 2013-03-23 19:13:14 UTC
Hello,
  when I  try to add new investment to invest account then after whole form was filled and button Finish was pressed then Error message appear and nothing was added. 
Here is error message:
"It is not possible to create all investment objects"
"Unknown security  'CZK' during modifySecurity() caugt in e:\r\build\extragear\kmymoney-4.6.2-20120206\work\kmymoney-4.6.3\kmymoney\mymoney\storage\mymoneyseqaccessmgr.cpp:1319"

I have set locale to my language (Czech), currency symbol is CZK.

I repeat this bug many times - it happens everytime. Type of invesment does not matter (stock, fund).



Reproducible: Always

Steps to Reproduce:
1. Click on investment account
2. Choose type Stock
3. Fill all infomation on form about stock
4. On next page for press Finish butto

3.
Actual Results:  
Error message appear:
"It is not possible to create all investment objects"
"Unknown security  'CZK' during modifySecurity() caugt in e:\r\build\extragear\kmymoney-4.6.2-20120206\work\kmymoney-4.6.3\kmymoney\mymoney\storage\mymoneyseqaccessmgr.cpp:1319"

Expected Results:  
New stock should be added to investment account.
Comment 1 Cristian OneČ› 2014-07-31 07:57:13 UTC
Could you try this with the latest Windows version 4.6.4?
Comment 2 Ralf Habacker 2017-11-15 05:25:52 UTC
It is not possible to retest this issue with newer kmymoney versions without having a minimal test case. If this is not possible, the kmy file which is used to open this bug, could be converted to an anonymous file ( https://docs.kde.org/trunk5/en/extragear-office/kmymoney/details.formats.anonymous.html).
If this issue is still open feel free to reopen this bug with the requested file appended.