[kmymoney] [Bug 519605] New: Deleting a tag does not delete references to it

Paul Worrall bugzilla_noreply at kde.org
Thu Apr 30 10:54:00 BST 2026


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

            Bug ID: 519605
           Summary: Deleting a tag does not delete references to it
    Classification: Applications
           Product: kmymoney
      Version First 5.2.2
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: p.r.worrall at gmail.com
  Target Milestone: ---

Created attachment 191935
  --> https://bugs.kde.org/attachment.cgi?id=191935&action=edit
Before deleting the tag

SUMMARY
When I delete a Tag that has been assigned to a Transaction, the Tag is removed
from the data file but the references to it from the Splits it was assigned to
are not removed.

STEPS TO REPRODUCE
1. Create a minimal xml file such as the one attached (before_deleting_tag.xml)
with a Tag that's assigned to a Transaction
2. Select the Tag in the Tags view and click the Delete Tag button
(The Tag is removed from the list.  The transaction it was assigned to is
greyed out in the list of Transactions)
3. Save the file and examine it in a text editor (after_deleting_file.xml
attached in Comment #1)

OBSERVED RESULT
The Tag is no longer present in the <TAGS> element but a reference to it is
still present in the <TRANSACTION> element (In the after_deleting_tag.xml file
it's in TRANSACTION 2, SPLIT 2)

EXPECTED RESULT
The Tag is removed from the <TAGS> element and all references to it are
removed.

SOFTWARE/OS VERSIONS
KMyMoney: 5.2.2
Akonadi: Unknown (build against 6.7.0)
Alkimia: 8.2.1 (build against 8.2.1)
Aqbanking: Unknown (build against 6.9.1)
Gpgme: Unknown (build against 2.0.0)
Gwenhywfar: Unknown (build against 5.14.1)
KDiagram: Unknown (build against )
libical: Unknown (build against 3.0.20)
libofx: Unknown (build against 0.10.9)
SQLCipher: Unknown (build against 3.51.3)
KDE Frameworks: 6.25.0
Qt: Using 6.11.0 and built against 6.11.0
Arch Linux (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.19.14-arch1-1

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


More information about the KMyMoney-devel mailing list