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)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.4alpha

People

(Reporter: Sebastian, Assigned: sspitzer)

Details

Attachments

(1 file)

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);
According to checkin comment it appears that none of bienvenu, sspitzer or mscott knows how not to use QueryInterface ;-)
Note: also move the call to moveToAlertPosition to the end of the load func.
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
Attachment #117964 - Flags: review-
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: