Bug 404527 - When excluding a tag from a report the information reported is incorrect
Summary: When excluding a tag from a report the information reported is incorrect
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Unclassified
Component: reports (show other bugs)
Version: 5.0.2
Platform: Manjaro Linux
: NOR normal (vote)
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on: 412429
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-18 17:04 UTC by Michael Carpino
Modified: 2020-07-14 07:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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