Closed Bug 96499 Opened 23 years ago Closed 23 years ago

account central / get msg problem if server is closed

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.4

People

(Reporter: sspitzer, Assigned: sspitzer)

Details

Attachments

(4 files)

account central / get msg problem if server is closed select a server, close it in the folder pane. in account central, do "read mail". we should be expanding and selecting the inbox. we aren't, it's a regression caused by the folder outliner landing. fix in my tree, here comes the patch.
Seth, This patch didn't work for me. js console error : Error opening inbox for server -> [Exception... "Component returned failure code : 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x800040 02 (NS_NOINTERFACE)" location: "JS frame :: chrome://messenger/content/msgMail3 PaneWindow.js :: EnsureAllAncestorsAreExpanded :: line 999" data: no] Here is what fixed it : in mailwindow.js : besides your patch, just do, SelectFolder(inboxFolder.URI); instead of SelectFolder(folderOutliner, folderResource) then we can get rid of var folderResource = RDF.GetResource(inboxFolder.URI) var folderOutliner = GetFolderOutliner(); also.
yes, that patch was bad. updated with a patch that works.
Cool..you beat me :-) r=bhuvan.
there's more. if you don't check mail on startup, we aren't selecting the account manager. (this might be a known problem.) I get to the console: "TypeError: folder.parent has no propertiesException in LoadStartFolder caused by no default account. We know about this" I don't think that still applies. I'll work on a fix for that.
Status: NEW → ASSIGNED
That sounds like a separate problem to me (server folder selection not effective). But it is OK with me to use this bug to resolve that one as well.
Looking at the code, I was also thinking that problem seems to be arising as we are trying to access the parent of the folder when we already reached the end in the ancestor levels. Your patch takes care of that and more. It works fine. r=bhuvan.
I'm getting a bunch of dups on some of these problems. I'll go beg drivers so I can check that last patch in.
sr=bienvenu
Target Milestone: --- → mozilla0.9.4
a=asa on behalf of drivers@mozilla.org
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: esther → sheelar
verified 2001-09-04-10 win98 2001-09-04-08 mac, linux
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: