Bug 313661 - Filtering by "mail content" doesn't work
Summary: Filtering by "mail content" doesn't work
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.98 RC3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-01-22 00:24 UTC by Kai Uwe Broulik
Modified: 2018-10-27 02:10 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 Kai Uwe Broulik 2013-01-22 00:24:47 UTC
In Filters you can configure it to look for a certain text inside the mail content. This doesn't work, however. I have applied a filter that looks for a string in the subject and a string in the content. The mail doesn't get filtered. The filter log says:

[01:21:20] Filterregeln werden geprüft: (match all of the following) "Subject" <contains> "Review Request:" "<body>" <contains> "git.reviewboard.kde"
[01:21:20] 0 = "Subject" <contains> "Review Request:" (Re: Review Request 107329: Adds support for keyboard backlight controls in powerdevil)
And as you can see, the rule is somewhat broken as the "body" part is not checked, probably because it has braces around.

Reproducible: Always

Steps to Reproduce:
1. Set up a filter that has a "Mail content" rule
2.
3.
Actual Results:  
Filter always fails

Expected Results:  
Filter filters properly
Comment 1 Laurent Montel 2013-01-25 08:42:41 UTC
paste filter settings please.
Comment 2 Christoph Feck 2013-02-01 03:28:32 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 Christoph Feck 2013-02-08 00:09:07 UTC
Kai, if you still have this issue, please add the requested information.
Comment 4 Kai Uwe Broulik 2013-03-20 22:54:49 UTC
Sorry for the wait. This is the affected rule: It should match all e-mails from kde reviewboard (hence the "git.reviewboard.kde.org" content check). As you can see, it finds no match, although the mail contains such content.

[23:53:03] Filterregeln werden geprüft: (match all of the following) "Subject" <contains> "Review Request" "<body>" <contains> "git.reviewboard.kde.org"
[23:53:03] 1 = "Subject" <contains> "Review Request" (Review Request 109622: Move "Bluetooth" entry from Places to Devices category)
[23:53:03] 0 = "<body>" <contains> "git.reviewboard.kde.org"
Comment 5 Andrew Crouthamel 2018-09-24 01:59:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 02:10:11 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!