Closed
Bug 87893
Opened 24 years ago
Closed 24 years ago
Filters are not executed in order when action is Set Priority
Categories
(MailNews Core :: Filters, defect)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: hwaara, Assigned: naving)
Details
Apparently, the whole behaviour is broken in that having a filter above another
in the filter-list should make us check that before all others, when using set
priority as action.
Real world example:
name="first"
enabled="yes"
type="1"
action="Change priority"
actionValue="Highest"
condition="OR (subject,contains,ris)"
name="second"
enabled="yes"
type="1"
action="Change priority"
actionValue="Lowest"
condition="OR (subject,contains,ris)"
Here we have two filters with the same criterium - if the subject contains "ris"
, do something.
Since the filter "first" is before "second", the message's priority should be
set to Highest, right? It's not.
When I tried, the priority became Lowest.
Reporter | ||
Comment 1•24 years ago
|
||
Might become dataloss if you have an advanced filtering system where one filter
takes care of something - and you have an underlying filter that takes care of
the unfiltered stuff (maybe delete it!).
Keywords: mozilla0.9.3,
nsbeta1
That's because filters continue to evaluate until a move (move to folder or
delete) is done. So after the match for the first filter, it continues to be
evaluated or "drops through" to the second filter... there it is set to Lowest
priority. This is intended behavior by current (6.0 and 6.1) design.
Reporter | ||
Comment 3•24 years ago
|
||
Why would I want the filter after the first one to match??
I don't understand how this can be intended behaviour.
Reporter | ||
Comment 4•24 years ago
|
||
If this really is intended behaviour, I really think we should fix it.
Sspitzer, Bienvenu - comments?
Related/historical info in (verified, 6.0) bug 23590, including this excerpted
comment from David Bienvenu 2000-01-10 17:08 -------
"... Now, due to incredibly heavy popular demand, we only stop evaluating
filters if a filter actually performs a move. Otherwise, we will keep evaluating
filters."
According to your scenario example, hwaara, this is an invalid point respecitve
to the current design... marking worksforme (since invalid always gets everyone
uptight).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 6•24 years ago
|
||
At least give me the fair right to question this decision before you just slam a
invalid/worksforme in my face.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Reporter | ||
Comment 8•24 years ago
|
||
Huh? In what way is it wrong of me to think that I have the right to discuss
this behaviour before you close the bug?
Comment 9•24 years ago
|
||
It is not unreasonable for hwaara to question this design. This is a case where
the actual behavior deviates from the expected behavior (the reporter's expected
behavior) and that is how I define a type of bug. It may be a bug which will
not be fixed but there are now two people on record who do not like the current
behavior and I think that warrants a reopening of the design discussion.
Comment 10•24 years ago
|
||
It's a perfectly valid resolution, and I'm marking it wontfix. People open bugs
when execution doesn't stop. People open bugs when execution does stop. It's a
no win solution for me to leave them all open. In the future, the solution will
be to allow the user to specify whether execution should stop or not, and that
is covered in another bug, which I will go look up when I get a chance.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → WONTFIX
Comment 11•24 years ago
|
||
see bug 30081 - it covers the actual issue.
Reporter | ||
Comment 12•24 years ago
|
||
I agree. Fixing bug 30081 is the way to satisfy everyone. I will try to do that
then.
Comment 13•23 years ago
|
||
marking verified -- old invalid or wontfix resolutions
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: MailNews → Core
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•