Closed
Bug 197660
Opened 22 years ago
Closed 22 years ago
Opening Folder Properties throws exception for non imap folders
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.4alpha
People
(Reporter: Sebastian, Assigned: sspitzer)
Details
Attachments
(1 file)
|
1.31 KB,
patch
|
neil
:
review-
|
Details | Diff | Splinter Review |
When doing bug 197209, I I noticed an uncaught exception:
1) In mailnews open the folder properties dialog through context menu
(I tried, POP, local folder, and NNTP)
Result:
JavaScript console throws an uncaught exception:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002
(NS_NOINTERFACE)" location: "JS frame ::
chrome://messenger/content/folderProps.js :: hideShowControls :: line 229"
data: no]
which is this line:
var imapFolder =
gMsgFolder.QueryInterface(Components.interfaces.nsIMsgImapMailFolder);
Comment 1•22 years ago
|
||
According to checkin comment it appears that none of bienvenu, sspitzer or
mscott knows how not to use QueryInterface ;-)
Comment 2•22 years ago
|
||
Note: also move the call to moveToAlertPosition to the end of the load func.
| Assignee | ||
Comment 3•22 years ago
|
||
| Assignee | ||
Comment 4•22 years ago
|
||
fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Summary: Opening Folder Properties throws exception → Opening Folder Properties throws exception for non imap folders
Target Milestone: --- → mozilla1.4alpha
Comment 5•22 years ago
|
||
Comment on attachment 117964 [details] [diff] [review]
patch
:-P
Attachment #117964 -
Flags: review-
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•