Bug 511674

Summary: Tags are not always taken into account
Product: [Applications] kmymoney Reporter: Philippe Debrabant <pdebrabant>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: major CC: pdebrabant
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Philippe Debrabant 2025-11-05 13:52:18 UTC
SUMMARY
The problem occurs on an old kmy file last use with 5.1.3 version and open with the 5.2.1 version. Tags not displayed for most operations in the ledger and not used in the report "transactions by tag".

STEPS TO REPRODUCE
1. Open a 5.1.3 file in a 5.2.1 version of KMM. The file contains some tags and operations with these tags.
2. In the "tags" view, we can see the operations linked to the tags
3. Double-click on an operation in the list : the tag does not appear
4. Create a "transactions by tag" report. The tags are not used

OBSERVED RESULT
The tags linked with a transaction in the 5.1.3 version are not taken into account by the new version for all functionnalities.

EXPECTED RESULT
All the tags linked with a transaction in the 5.1.3 version must remain linked with the new version for all functionnalities.

SOFTWARE/OS VERSIONS
KMyMoney: 5.2.1-1041e11
Alkimia: 8.2.70 (build against 8.2.70)
Aqbanking: Unknown (build against 6.6.4)
Gpgme: Unknown (build against 1.23.2)
Gwenhywfar: Unknown (build against 5.13.0)
KDiagram: Unknown (build against )
libical: Unknown (build against 3.0.9)
libofx: Unknown (build against 7.0.4)
SQLCipher: Unknown (build against 3.20.1)
KDE Frameworks: 6.19.0
Qt: Using 6.9.2 and built against 6.9.2
AppImage
LMDE 7 (gigi) (Xcb)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.12.48+deb13-amd64

ADDITIONAL INFORMATION