Bug 453033

Summary: Tag applied in a split transaction does not show in the Transactions by Tag report
Product: [Applications] kmymoney Reporter: Peter Orczykowski <petero>
Component: reportsAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: major CC: b-misc, john, ralf.habacker
Priority: NOR    
Version First Reported In: 5.1.2   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed/Implemented In: 5.2
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 488491    
Attachments: test file

Description Peter Orczykowski 2022-04-26 03:56:22 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Enter a split transaction
2. Assign a tag to one of the splits
3. Run a tag report

OBSERVED RESULT
Only tags assigned to the entire transaction show in the tag report. Tags assigned to a split do not show.

EXPECTED RESULT
All tagged transactions should be listed

SOFTWARE/OS VERSIONS
Windows: 
macOS: 12.3.1
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Ralf Habacker 2024-01-26 14:28:21 UTC
Created attachment 165247 [details]
test file

Seems to be fixed in the git master branch
Comment 2 Ralf Habacker 2024-10-21 22:13:00 UTC
Git commit 847838f93fc9f90b83e8a2f9c95d1f95365b7261 by Ralf Habacker.
Committed on 21/10/2024 at 22:12.
Pushed by habacker into branch 'master'.

Added test case for tags in splits in transaction report

This commit adds a test case that checks whether tags in splits are
displayed in the “Transaction with tags” report.
FIXED-IN:5.2

M  +1    -0    kmymoney/plugins/views/reports/core/tests/data/CMakeLists.txt
A  +7    -0    kmymoney/plugins/views/reports/core/tests/data/test-453033-report-querytable-Transactions-by-Tag-_Customised_.csv
A  +113  -0    kmymoney/plugins/views/reports/core/tests/data/test-453033.xml

https://invent.kde.org/office/kmymoney/-/commit/847838f93fc9f90b83e8a2f9c95d1f95365b7261
Comment 3 surcouf 2025-06-23 10:09:33 UTC
*** Bug 424138 has been marked as a duplicate of this bug. ***
Comment 4 surcouf 2025-06-23 10:11:51 UTC
*** Bug 417827 has been marked as a duplicate of this bug. ***