Closed
Bug 620515
Opened 14 years ago
Closed 13 years ago
IMAP online search fails silently
Categories
(SeaMonkey :: MailNews: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mnyromyr, Assigned: neil)
References
Details
Attachments
(1 file)
621 bytes,
patch
|
mnyromyr
:
review+
|
Details | Diff | Splinter Review |
Both SeaMonkey and Thunderbird trunk. If I do an advanced search (online) for an IMAP account I'm not yet logged in to, the search silently fails. No dialog comes up, asking for my credentials.
Updated•14 years ago
|
blocking-thunderbird5.0: --- → ?
Comment 1•14 years ago
|
||
Are you talking about problem of bug 546925?
Reporter | ||
Comment 2•14 years ago
|
||
Hm, maybe, not sure. The problem here is that any online search would need to trigger a login prompt, which doesn't appear. This might be caused by 546925's not searching online at all...
Comment 3•14 years ago
|
||
(In reply to comment #2) > The problem here is that any online search would need to trigger a login prompt, which doesn't appear. Current online search after Gloda is next, if I understand correctly. - Quick search never uses online search after Gloda. - Edit/Find/Search Messages(name of Tb) never does do online search, even if 'Run search on server' is requested(bug 546925). - However, online search is executed if Saved Search folder(Virtual Folder), as far as search target folders are IMAP folders only. No IMAP folder access is invoked by Tb even when "online search" is requested by Saved Search Folder(Virtual Folder)? If so, search target folder is mixture of local mail folder, IMAP folder of offline-use=on, and IMAP folder of offline-use=off? You do not request "Save Password" for any IMAP account?
Reporter | ||
Comment 4•14 years ago
|
||
(In reply to comment #3) > Current online search after Gloda is next, if I understand correctly. > - Quick search never uses online search after Gloda. SM doesn't use Gloda, so that should not matter. (If it does, it's a bug!) > - Edit/Find/Search Messages(name of Tb) never does do online search, > even if 'Run search on server' is requested(bug 546925). > - However, online search is executed if Saved Search folder(Virtual Folder), > as far as search target folders are IMAP folders only. Not really. For this to work, the IMAP access would have to prompt me for my password, which it does not. > If so, search target folder is mixture of local mail folder, IMAP folder of > offline-use=on, and IMAP folder of offline-use=off? > > You do not request "Save Password" for any IMAP account? New profile, IMAP-offline=off for all IMAP, checked all folders that this is true and that there is no data, no saved passwords.
Comment 5•13 years ago
|
||
I don't think we're actually trying to run the search online, despite the state of the check box.
Comment 6•13 years ago
|
||
I think the msgWindow that's getting passed to the search url doesn't have a doc shell that supports nsIAuthPrompt, so we fail to get the password. See nsMsgIncomingServer::GetPasswordWithUI(). Thunderbird also has the issue that we never try to run the search online because of this line: http://mxr.mozilla.org/comm-central/source/mail/base/modules/searchSpec.js#439
Assignee | ||
Comment 7•13 years ago
|
||
(In reply to comment #6) > I think the msgWindow that's getting passed to the search url doesn't have a > doc shell that supports nsIAuthPrompt, so we fail to get the password. See > nsMsgIncomingServer::GetPasswordWithUI(). That's easy enough to fix, just set .allowAuth to true on it.
Assignee | ||
Comment 8•13 years ago
|
||
Compare bug 267485.
Assignee | ||
Comment 9•13 years ago
|
||
(In reply to comment #8) > Compare bug 267485. Sorry, should be bug 267486.
Component: Search → MailNews: General
Product: MailNews Core → SeaMonkey
QA Contact: search → mail
Reporter | ||
Comment 10•13 years ago
|
||
Comment on attachment 514758 [details] [diff] [review] Proposed patch Yay!
Attachment #514758 -
Flags: review?(mnyromyr) → review+
Assignee | ||
Comment 11•13 years ago
|
||
Pushed changeset 675814419cd8 to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 12•13 years ago
|
||
Sorry for noise, I need to reset a flag :-(
Component: MailNews: General → General
Product: SeaMonkey → Thunderbird
Updated•13 years ago
|
blocking-thunderbird5.0: ? → ---
Updated•13 years ago
|
Component: General → MailNews: General
Product: Thunderbird → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•