Summary: | Unable to delete some categories | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Michael Carpino <mfcarpino> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | KDE |
Priority: | NOR | ||
Version: | 5.0.8 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | attachment-26563-0.html |
Description
Michael Carpino
2020-05-10 15:18:53 UTC
Having transactions does not prevent deletion of a category, because you will then be asked what other category those transactions should be assigned to. I wonder if those categories you can't delete are closed (they are actually accounts) but I can't find any way in the program to open or close category accounts, so I don't know how it could have happened. Can you provide a sample kmy file? Perhaps save your file anonymized, and confirm it still shows the same problem? Are they be used in scheduled transactions? Would that stop them from being deleted? The following items are not checked for references when the deletion is disabled for categories: - Transactions - Accounts/Categories - Schedules - Budgets This would leave reports as a candidate if you ask me. Created attachment 128345 [details] attachment-26563-0.html Should we maybe leave the option enabled at all times but show appropriate message with explanation of impossible to delete? I too had a similar problem with deleting my investment accounts that had securities configured, the first time I used that functionality in kmymoney. On Sun, May 10, 2020 at 1:15 PM Thomas Baumgart <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=421288 > > --- Comment #3 from Thomas Baumgart <tbaumgart@kde.org> --- > The following items are not checked for references when the deletion is > disabled for categories: > > - Transactions > - Accounts/Categories > - Schedules > - Budgets > > This would leave reports as a candidate if you ask me. > > -- > You are receiving this mail because: > You are the assignee for the bug. Rather than leave the delete enabled, and then have to block it anyway, I would much prefer to see a better way to inform the use of why the delete (or, in fact any action) is not allowed. Displaying that information in a tool-tip would work, but it might also be reasonable to show it in a status are, such as at the bottom of the main window. I think this is actually a much broader issue than just not being able to delete some object. I am closing this issue/bug as it is not a bug because of a recent issue I was following on the KMM Forum that resolves the problem. The categories that I was unable to delete was because I have payees that I defined/assigned as the default category. As soon as I removed the default category for the payee then I am miraculously (sarcasm) able to delete the category. |