[kmymoney] [Bug 464337] Deleting split from the categories view deletes the ENTIRE transaction in the ledger (Appimage 5.1-360-linux-gcc-x86_64)

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Mon Jan 16 01:47:06 GMT 2023


https://bugs.kde.org/show_bug.cgi?id=464337

--- Comment #7 from alx.kuzza at gmail.com ---
(In reply to lp.allard.1 from comment #6)
> (In reply to alx.kuzza from comment #4)
> > Simplified example:
> > 
> > Ledger before deleting categories:
> > 
> > Transaction 1			$98.00
> > 	Split 1	Category A	$98.00
> > 
> > Then I delete category A and all of the splits inside.... (that from the
> > category view)
> > 
> > Resulting ledger:
> > 
> > contains nothing
> 
> @alx.kuzza:   I believe this is normal, you deleted the ONLY split that
> transction has.... Your problem is that KMM doesnt ask for re-assignment of
> the split.  My problem is that KMM DESTROYS the entire transaction even of
> it still contains many other splits.....

Your example is the same as mine. But I just have only 1 transaction that
disappears and it is not necessary to create 4 transactions and 4 categories to
reproduce the problem. 

Similarly, if I create 10  transactions having that 1 category that is going to
be used to delete splits after - all 10 transactions will be deleted. And a
dialog even asking a confirmation to delete the transactions. That is dangerous
if you want do delete some old category and have transactions dated a few years
back.

I would say we should ask to re-assign the category for those deleted splits,
Setting ***unassigned*** seems to be not quite a good idea.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list