Bug 453033 - Tag applied in a split transaction does not show in the Transactions by Tag report
Summary: Tag applied in a split transaction does not show in the Transactions by Tag ...
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: reports (show other bugs)
Version: 5.1.2
Platform: macOS (DMG) macOS
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks: 488491
  Show dependency treegraph
 
Reported: 2022-04-26 03:56 UTC by Peter Orczykowski
Modified: 2024-10-21 22:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.2
Sentry Crash Report:


Attachments
test file (6.93 KB, text/xml)
2024-01-26 14:28 UTC, Ralf Habacker
Details

Note You need to log in before you can comment on or make changes to this bug.
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