Bug 404527

Summary: When excluding a tag from a report the information reported is incorrect
Product: [Applications] kmymoney Reporter: Michael Carpino <mfcarpino>
Component: reportsAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CONFIRMED ---    
Severity: normal CC: antoine, ralf.habacker
Priority: NOR    
Version: 5.0.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 412429    
Bug Blocks:    

Description Michael Carpino 2019-02-18 17:04:17 UTC
SUMMARY  I am trying to exclude a specific tag (business expense) within a report however the results I receive from the selection is incorrect.  This occurs with multiple reports available. I'm going to just provide one example in the steps to reproduce.

STEPS TO REPRODUCE
1. Go to reports and select the report Transactions by Category 
2. Select Configure > Filters > Tag
3. Check a box to unselect that Tag

OBSERVED RESULT

The output for the selected time period and unselected Tag is incorrect.  The report output is eliminating transactions that don't include the excluded tag for the time period.


EXPECTED RESULT

The results for the time period should contain all transactions for all the transactions expect transactions that contain the excluded tag. 


SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux 
KDE Plasma Version: 5.14.5
Qt Version: 5.12.0
KDE Frameworks Version: 5.54.0
Kernel Version: 4.20.7-1-MANJARO
OS Type: 64-bit
Processors: 4 × AMD A8-6410 APU with AMD Radeon R5 Graphics
Memory: 3.3 GiB of RAM

ADDITIONAL INFORMATION

Problem is also occurring in KMM AppImage Version 5.0.80-9a261ba
Comment 1 Ralf Habacker 2019-10-05 14:06:00 UTC
The reason for this bug is similar to bug 412429: MyMoneyTransactionFilter::match() does exclude tags from categories
Comment 2 antoine 2020-07-14 07:45:02 UTC
I have been able to reproduce this bug.

KMyMoney-5.1.0-74a8f0d-x86_64.AppImage
Xubuntu 20.04