Bug 448006

Summary: Duplicated security symbol will be created twice in different account
Product: [Applications] kmymoney Reporter: rd_work3
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 5.1.2   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rd_work3 2022-01-06 01:06:07 UTC
SUMMARY
Duplicated security symbol will be created twice in different account (with workaround attached)

STEPS TO REPRODUCE
1. Create an account, add a transaction to buy 'NVDA';
2. Create another account, try adding a transaction to buy 'NVDA' again;
3. Since kmymoney only can select the symbol belongs to this account, input 'NVDA' in the 'Security' edit box;
4. New investment wizard dialogue is showing 'NVDA' as the 'Full Name' and empty 'Trading symbol';
5. Input 'NVDA' in Trading symbol; but the expected message 'The selected symbol is already on file. Do you want to reuse the existing security?" DID NOT appear.
6. Then duplicated 'NVDA' will be created and I cannot delete the new one.
7. Workaround: If I manually remove the 'NVDA' full name first and then input 'NVDA' trading symbol, the expected message pops up.

OBSERVED RESULT
Since the default behaviour is to fill 'Full Name' as 'NVDA', this message will not pop up.
Thus we will get the duplicated security symbol.

EXPECTED RESULT
Even the 'Full Name' is filled, this message should always pop up to avoid duplicated security symbol.

SOFTWARE/OS VERSIONS
Windows: 10
Comment 1 Jack 2022-02-27 18:36:04 UTC
I believe this is actually documented in the Manual.

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