Closed Bug 341432 Opened 18 years ago Closed 18 years ago

Searching messages for tags doesn't fully work

Categories

(MailNews Core :: Backend, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mnyromyr, Assigned: Bienvenu)

References

Details

(Keywords: regression)

Attachments

(1 file)

Thunderbird Mac/SeaMonkey Windows nightly of 2006-06-13

Search messages is broken when searching for tags:
- tag one message in a folder as Later and Work, using former labels
- tag another one there as Important, Later and Work
- open Search Messages dialog, search in that folder for [Tag][contains][Work]

Results: none
Expected results: both above messages

- search again, this time for [Tag][contains][Later]

Results: message one from above
Expected results: both above messages

- search again, this time for [Tag][contains][Important]

Results: second message from above, as expected

It seems that only the tags whose internal keywords are alphabetically first are found?
I'll look into it.
Assignee: nobody → bienvenu
Attached patch proposed fixSplinter Review
need to use length of keyword we're looking for, not the length of the whole string, when looking for blank. So the search was failing on any but the first keyword.
Attachment #225769 - Flags: superreview?(sspitzer)
Comment on attachment 225769 [details] [diff] [review]
proposed fix

sr=sspitzer, acting sr for mailnews while mscott is away
Attachment #225769 - Flags: superreview?(sspitzer) → superreview+
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: