Bug 182581 - JJ: KMail should complain about a filter rule w/o a defined action
Summary: JJ: KMail should complain about a filter rule w/o a defined action
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail
Classification: Applications
Component: filtering (show other bugs)
Version: 1.11.0
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2009-01-31 14:39 UTC by Toralf Förster
Modified: 2009-05-25 21:11 UTC (History)
3 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 Toralf Förster 2009-01-31 14:39:38 UTC
Version:           1.9.10 (using 3.5.10, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.27-gentoo-r8

Currently it is possible to define a filter w/o an action.
Comment 1 George Kiagiadakis 2009-01-31 17:54:59 UTC
I can confirm this on kmail 1.11.0, although it doesn't really hurt. It's just a filter that does nothing. Thus, I change severity to minor.
Comment 2 Jonathan Armond 2009-05-25 15:46:46 UTC
I've submitted a patch to reviewboard.kde.org which causes kmail to complain if a filter doesn't have a matching pattern, actions or accounts.
Comment 3 Ingo Klöcker 2009-05-25 21:11:06 UTC
Actually, a filter without filter action can be used as stop filter, i.e. to stop processing of the following filters if certain criteria are met. One use case is disabling filtering temporarily by adding such a stop filter as first filter.

Resolving as WONTFIX.