<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>506897</bug_id>
          
          <creation_ts>2025-07-11 02:25:28 +0000</creation_ts>
          <short_desc>Deleting a tag crashes the program.</short_desc>
          <delta_ts>2025-07-13 07:28:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>5.2.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jesse">jvapr27</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/-/commit/579ba0a2b27cba821a4b6f7a86297e8d4c54562b</cf_commitlink>
          <cf_versionfixedin>5.2.1</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2440056</commentid>
    <comment_count>0</comment_count>
    <who name="jesse">jvapr27</who>
    <bug_when>2025-07-11 02:25:28 +0000</bug_when>
    <thetext>SUMMARY
Deleting a tag cause the program to crash. 

STEPS TO REPRODUCE
1. open the Kmy book
2. go to the tags section 
3. select a tag to delete
4. press the delete button on the screen 

OBSERVED RESULT
Program crashes

EXPECTED RESULT
Program should not crash. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora
KDE Plasma Version: n/a gnome
KDE Frameworks Version: KDE Frameworks 
Version 5.115.0
Qt Version: Qt 
Version 5.15.13 (built against 5.15.12)

ADDITIONAL INFORMATION
KMY: Version 5.2.0-2cbd7a8 app image</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2440057</commentid>
    <comment_count>1</comment_count>
    <who name="jesse">jvapr27</who>
    <bug_when>2025-07-11 02:25:56 +0000</bug_when>
    <thetext>I want to add that the tag was unused.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2440136</commentid>
    <comment_count>2</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2025-07-11 11:35:57 +0000</bug_when>
    <thetext>Git commit 4394fe1c446d0aa65d6a852cf9ce5761325c9108 by Thomas Baumgart.
Committed on 11/07/2025 at 11:34.
Pushed by tbaumgart into branch &apos;master&apos;.

Prevent crash when deleting tag
FIXED-IN: 5.2.1

M  +39   -21   kmymoney/dialogs/ktagreassigndlg.cpp
M  +2    -2    kmymoney/dialogs/ktagreassigndlg.h

https://invent.kde.org/office/kmymoney/-/commit/4394fe1c446d0aa65d6a852cf9ce5761325c9108</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2440434</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2025-07-13 07:28:48 +0000</bug_when>
    <thetext>Git commit 579ba0a2b27cba821a4b6f7a86297e8d4c54562b by Thomas Baumgart.
Committed on 13/07/2025 at 06:32.
Pushed by tbaumgart into branch &apos;5.2&apos;.

Prevent crash when deleting tag
FIXED-IN: 5.2.1
(cherry picked from commit 4394fe1c446d0aa65d6a852cf9ce5761325c9108)

M  +39   -21   kmymoney/dialogs/ktagreassigndlg.cpp
M  +2    -2    kmymoney/dialogs/ktagreassigndlg.h

https://invent.kde.org/office/kmymoney/-/commit/579ba0a2b27cba821a4b6f7a86297e8d4c54562b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>