Closed
Bug 358909
Opened 19 years ago
Closed 18 years ago
Message filter "Age" only allows positive values
Categories
(MailNews Core :: Search, enhancement)
MailNews Core
Search
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9alpha8
People
(Reporter: michael.letzgus, Assigned: mkmelin)
References
Details
Attachments
(2 files)
|
10.20 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
|
10.61 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1) Gecko/20061010 Firefox/2.0
The message filter "Age" only allows positive values.
Negative values would be nice to deal with junk mail sent with a wrong date from the future.
Alternative:
Add "today"-type date to the "date"-filter.
Reproducible: Always
Steps to Reproduce:
nothing at all
| Assignee | ||
Comment 1•19 years ago
|
||
-> new, valid rfe.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 2•19 years ago
|
||
*** Bug 356026 has been marked as a duplicate of this bug. ***
Comment 4•18 years ago
|
||
DUP of Bug 174294, isn't it?
| Assignee | ||
Comment 5•18 years ago
|
||
Effectively, yes... but this bug is so uncluttered;)
Comment 6•18 years ago
|
||
I see. Setting dependency.
| Assignee | ||
Comment 7•18 years ago
|
||
This makes search/filters accept negative age. So age > -3 means more than three days in the future. Age < -3 means date is before three days in the future.
(Removing the headersString variable as it wasn't used.)
Attachment #269691 -
Flags: superreview?(bienvenu)
Attachment #269691 -
Flags: review?(bienvenu)
Comment 8•18 years ago
|
||
Comment on attachment 269691 [details] [diff] [review]
proposed fix
nice, thx, Magnus.
Attachment #269691 -
Flags: superreview?(bienvenu)
Attachment #269691 -
Flags: superreview+
Attachment #269691 -
Flags: review?(bienvenu)
Attachment #269691 -
Flags: review+
Comment 9•18 years ago
|
||
oh, you should gen a new uuid for the nsIMsgSearchValue
| Assignee | ||
Comment 10•18 years ago
|
||
Fix as checked in, with new uuid
| Assignee | ||
Comment 11•18 years ago
|
||
Checking in base/search/public/nsIMsgSearchValue.idl;
/cvsroot/mozilla/mailnews/base/search/public/nsIMsgSearchValue.idl,v <-- nsIMsgSearchValue.idl
new revision: 1.10; previous revision: 1.9
done
Checking in base/search/public/nsMsgSearchCore.idl;
/cvsroot/mozilla/mailnews/base/search/public/nsMsgSearchCore.idl,v <-- nsMsgSearchCore.idl
new revision: 1.31; previous revision: 1.30
done
Checking in base/search/src/nsMsgSearchAdapter.cpp;
/cvsroot/mozilla/mailnews/base/search/src/nsMsgSearchAdapter.cpp,v <-- nsMsgSearchAdapter.cpp
new revision: 1.92; previous revision: 1.91
done
Checking in base/search/src/nsMsgSearchTerm.cpp;
/cvsroot/mozilla/mailnews/base/search/src/nsMsgSearchTerm.cpp,v <-- nsMsgSearchTerm.cpp
new revision: 1.143; previous revision: 1.142
done
Checking in base/search/src/nsMsgSearchValue.cpp;
/cvsroot/mozilla/mailnews/base/search/src/nsMsgSearchValue.cpp,v <-- nsMsgSearchValue.cpp
new revision: 1.28; previous revision: 1.27
done
->FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3
Updated•18 years ago
|
Component: General → MailNews: Search
Product: Thunderbird → Core
Target Milestone: Thunderbird 3 → mozilla1.9beta1
Updated•18 years ago
|
QA Contact: general → search
Version: unspecified → Trunk
Comment 13•18 years ago
|
||
Is this fix in TB-2? If not, will it be incorporated into it?
Sorry if this is not the right place to ask this.
| Assignee | ||
Comment 14•18 years ago
|
||
No sorry, you'll have to wait for tb3.
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
•