Closed
Bug 89052
Opened 23 years ago
Closed 23 years ago
[imap] Couldn't search headers for "PDT+"
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.3
People
(Reporter: selmer, Assigned: sspitzer)
References
Details
Attachments
(2 files)
1.93 KB,
patch
|
Details | Diff | Splinter Review | |
3.19 KB,
patch
|
Details | Diff | Splinter Review |
7/2 03 win98 I was in a folder containing messages requesting PDT+ approvals I used the Search menu to get to the search dialog for that folder I attempted to search (subject contains "a=" OR subject contains "pdt+") I got an error message "missing required argument to search header" Removing the "+" from "pdt+" avoids the error, but that's a different search Searching on *just* (subject contains "pdt+") works fine!
I can get the same error, but only if using the two subject text strings you specified in order. If I switch the a= to the second subject field (with pdt+ as first subject string), all is ok.
Comment 2•23 years ago
|
||
Seth has been working on the Search backend previously. CC sspitzer.
Comment 3•23 years ago
|
||
i will investigate...
Comment 4•23 years ago
|
||
I tried a search for ("pdt+" OR "a=") in both orders, and on Local Folders, my POP account and in my news account. I never got the error. Resolving as worksforme. If this is IMAP-only or still reproducable, feel free to reopen.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 5•23 years ago
|
||
Håkan, please see Laurel's comment from 7/3.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 6•23 years ago
|
||
I told you, I tried both orders and it worked fine for me. Please retry with a trunk build.
Comment 7•23 years ago
|
||
worksforme again then, i guess.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 8•23 years ago
|
||
reopening. this looks like it is imap specific.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee | ||
Comment 9•23 years ago
|
||
hwaara, if you want a free imap account, check out subdimension.com
Summary: Couldn't search headers for "PDT+" → [imap] Couldn't search headers for "PDT+"
Assignee | ||
Comment 10•23 years ago
|
||
we're missing a quote. this search works: "SEARCH UNDELETED (OR HEADER SUBJECT "pdt+" HEADER SUBJECT "a=")" this search fails: "SEARCH UNDELETED (OR HEADER SUBJECT "a=" HEADER SUBJECT "pdt+)" I'll take a quick look into the fix.
Assignee: naving → sspitzer
Status: REOPENED → NEW
Assignee | ||
Comment 11•23 years ago
|
||
ok, I think I see the problem. testing a patch.
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•23 years ago
|
||
Assignee | ||
Comment 13•23 years ago
|
||
the problem was we had some old 4.x code that used to use a byte count mixed in with some code that used Length() on a new string type. the goal of that code is: if the last char is ' ', truncate so we don't end up with 'FOO )', we end up with 'FOO)' I cleaned it up, please review.
Comment 14•23 years ago
|
||
r=bienvenu, looks good.
Assignee | ||
Comment 15•23 years ago
|
||
I could take this a step further and fix GenerateEncodeStr() to not return an int, since now it not used.
Comment 16•23 years ago
|
||
r=naving
Assignee | ||
Comment 17•23 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla0.9.3
Assignee | ||
Comment 18•23 years ago
|
||
Assignee | ||
Comment 19•23 years ago
|
||
*** Bug 92795 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
OK using aug06 commercial trunk build win98. Also tried another failure case as mentioned in 92795. OK. Marking verified.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
Component: MailNews: Search → MailNews: Message Display
QA Contact: laurel → search
You need to log in
before you can comment on or make changes to this bug.
Description
•