Bug 188346 - Use new referencesClosedAccount methods for transaction split editing and deletion
Summary: Use new referencesClosedAccount methods for transaction split editing and del...
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: git (master)
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 17:19 UTC by Ian Neal
Modified: 2014-08-22 14:23 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 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.