Bug 507280 - Deleting a tag asks for replacement even if tag is not used
Summary: Deleting a tag asks for replacement even if tag is not used
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.2.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-20 18:20 UTC by jesse
Modified: 2025-07-20 18:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jesse 2025-07-20 18:20:33 UTC
SUMMARY
When you delete a tag that is unused, it will ask for a replacement tag, even if the tag is not assigned to any transactions. Probably because it is assigned to a report or something else. 


STEPS TO REPRODUCE
1. Open Kmymoney
2. Try to delete a tag that is not assigned to a transaction but is assigned or used in a report
3. 

OBSERVED RESULT
The system will ask you for a replacement tag(very nice feature btw). 

EXPECTED RESULT
The system should ask you for a replacement tag but it should also help you identify where the tag is being used. When you look through transactions and do not see it used, it make is it difficult to find why it won't let you delete it. 

A list of transactions or reports where the tag is used, would be ideal. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:  Fedora Gnome 42
KDE Plasma Version: 
KDE Frameworks Version: KDE Frameworks 
Version 5.115.0
Qt Version: Qt 
Version 5.15.13 (built against 5.15.12)
Kmymoney version: Version 5.2.70-c8a5ce6
ADDITIONAL INFORMATION