Closed
Bug 467809
Opened 16 years ago
Closed 16 years ago
Advanced address search recognizes only the first condition
Categories
(Thunderbird :: Address Book, defect)
Thunderbird
Address Book
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b1
People
(Reporter: henning.henkel, Assigned: philor)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
1.19 KB,
patch
|
standard8
:
review+
standard8
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111922 GranParadiso/3.0.4 Build Identifier: 20081201162550 When selecting "all conditions must be matched" and searching for example a lastname and a nickname and provide names, I get two matches with the same lastname. But it should only show one match, as the other contact has no nickname. Reproducible: Always Steps to Reproduce: 1.Create two contacts with the same or partly the same lastname 2.One of the contacts gets a nickname, the other one not. 3.Press SHIFT + F when in the addressbook 4.Select "all conditions must be matched" 5.Search for "Name" "contains" the above chosen lastname ( or part of it ) 6.Add another codition for the nickname with "contains" and the before chosen nick. 7. Press enter to search Actual Results: Both contact are shown Expected Results: Only the contact should be shown who matches all the conditiones
Reporter | ||
Updated•16 years ago
|
Flags: blocking-thunderbird3.0b1?
Reporter | ||
Comment 1•16 years ago
|
||
As a side effect I noticed that a new search (in the same window by hitting "new search") after the above mentioned procedure does not show any results.
Assignee | ||
Comment 2•16 years ago
|
||
This stops us from bombing out with Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://messenger/content/ABSearchDialog.js :: GetScopeForDirectoryURI :: line 122" data: no] when you change from "Match any" to "Match all", since we're currently trying to setSearchScope(""). Testing it makes another bug rather obvious, since you open the dialog with "Any Name" selected, and when you change to "Match all" that changes to "Display Name" because the "Any Name" item disappears. I'll assert that that's a different bug which this one was just masking, since I don't actually know what's doing that.
Assignee: nobody → philringnalda
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #351321 -
Flags: superreview?(bugzilla)
Attachment #351321 -
Flags: review?(bugzilla)
Updated•16 years ago
|
Attachment #351321 -
Flags: superreview?(bugzilla)
Attachment #351321 -
Flags: superreview+
Attachment #351321 -
Flags: review?(bugzilla)
Attachment #351321 -
Flags: review+
Comment 3•16 years ago
|
||
Comment on attachment 351321 [details] [diff] [review] Fix v.1 [Checkin: Comment 4] Please file a bug on the Any Name issue and I'll take a look at it later.
Assignee | ||
Comment 4•16 years ago
|
||
http://hg.mozilla.org/comm-central/rev/5c3297d72cb6
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: blocking-thunderbird3.0b1? → blocking-thunderbird3.0b1-
OS: Linux → All
Hardware: PC → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0b2
Version: unspecified → Trunk
Assignee | ||
Updated•16 years ago
|
Blocks: 449260
Keywords: regression
Comment 5•16 years ago
|
||
Phil, this made it into b1, do you want the target revised?
Updated•15 years ago
|
Attachment #351321 -
Attachment description: Fix v.1 → Fix v.1
[Checkin: Comment 4]
You need to log in
before you can comment on or make changes to this bug.
Description
•