Summary: | Tag assigned to transactions cannot be deleted only re-assigned | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | schoenes-rad |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | ralf.habacker |
Priority: | NOR | ||
Version: | 5.0.7 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/office/kmymoney/commit/5a04e6286adcee81fbe84497a0ce397b3df97f5a | Version Fixed In: | 5.1.0 |
Sentry Crash Report: | |||
Attachments: | saubererstrom.jpg |
Description
schoenes-rad
2020-04-15 12:26:17 UTC
What do you refer to as 'cue or cue entry'? What is the German word for it? Created attachment 127586 [details] saubererstrom.jpg Thomas: Sorry for the confusion - it's TAG, of course, not CUE. Same word in German ("Stichwort"), but of course two totally different items in English. Incorrect re-translation on my side. On Wed, 2020-04-15 at 18:13 +0000, Thomas Baumgart wrote: > https://bugs.kde.org/show_bug.cgi?id=420114 > > Thomas Baumgart <tbaumgart@kde.org> changed: > What |Removed |Added--------------- > ----------------------------------------------------------- > -- Resolution| > - > -- |WAITINGFORINFO Status|REPORTE > D |NEEDSINFO > --- Comment #1 from Thomas Baumgart <tbaumgart@kde.org> ---What do > you refer to as 'cue or cue entry'? What is the German word for it? I rephrase the problem here so that we understand it a bit better: in the tag view it is not possible to delete a tag. Only tags without transactions assigned can be deleted. I am actually not sure why that limitation exists. Either there is a reason or it can be removed. We need to investigate this. I think the issue is the same as for categories. You can't delete a tag if there are any transactions using that tag, because they would be left with invalid references. So, the system offers to reassign those transactions to a different tag. Perhaps this bug could be a wishlist to ask if the user wants to simply remove that tag from all transactions instead of assigning them to a different tag. That can't be done for a Category, since we (generally) don't allow transactions without a category, but it should be possible for Tags. However, an alternative would be some reasonable way to find all transactions with a tag, and then remove that tag from them prior to deleting the tag itself. Git commit 5a04e6286adcee81fbe84497a0ce397b3df97f5a by Thomas Baumgart. Committed on 05/01/2022 at 20:48. Pushed by tbaumgart into branch 'master'. Allow completely deleting tags without prior reassignment GUI: M +42 -24 kmymoney/dialogs/ktagreassigndlg.cpp M +21 -12 kmymoney/dialogs/ktagreassigndlg.h M +84 -25 kmymoney/dialogs/ktagreassigndlg.ui M +61 -45 kmymoney/views/ktagsview.cpp https://invent.kde.org/office/kmymoney/commit/5a04e6286adcee81fbe84497a0ce397b3df97f5a |