Bug 188346

Summary: Use new referencesClosedAccount methods for transaction split editing and deletion
Product: [Applications] kmymoney Reporter: Ian Neal <iann_bugzilla>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CONFIRMED ---    
Severity: wishlist    
Priority: NOR    
Version: git (master)   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ian Neal 2009-03-28 17:19:11 UTC
Version:           0.9.3-CVS (using KDE 3.5.10)
Compiler:          gcc version 4.3.0 20080428 
OS:                Linux
Installed from:    Fedora RPMs

This has been spun off from bug 188328.
There are a number of issues that could be resolved using the new referencesClosedAccount methods.

1/ Transaction deletion in open accounts
At the moment when you try and delete a transaction from an open account that references a closed account you get a user-unfriendly throw error message, after confirming you want to delete the transaction, similar to:
"Unable to delete transaction(s): Cannot remove transaction that references a closed account., thrown in mymoneyfile.cpp:398"
Would be good if we could produce a more user-friendly error message before asking for confirmation - might get more complicated if trying to delete multiple transactions...

2/ Editing a split in open accounts
At the moment you are not able to edit a split in an open account if one of the splits references a closed account, even if the line you wish to alter would not affect the closed account.
Hopefully using the new methods might enable this to be possible.
Comment 1 Thomas Baumgart 2009-04-08 16:21:56 UTC
1/ is already fixed with the fix of bug 188328

2/ is still open
Comment 2 Cristian OneČ› 2014-08-20 20:30:51 UTC
Moving this wish to kmymoney4.