Closed Bug 442251 Opened 16 years ago Closed 16 years ago

In <mailTasksOverlay.js>, "Exception / NS_ERROR_OFFLINE / nsIPop3IncomingServer.downloadMailFromServers"

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.0a1

People

(Reporter: sgautherie, Assigned: mnyromyr)

References

Details

Attachments

(1 file)

[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.1pre) Gecko/2008062703 Thunderbird/3.0a2pre] (nightly) (W2Ksp4)

No bug.


[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.1pre) Gecko/2008062701 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4)

1. Create (dumb) POP3 account.
2. Go offline.
3 Restart application.
3r. During startup:
{{
Error: [Exception... "Component returned failure code: 0x804b0010 (NS_ERROR_OFFLINE) [nsIPop3IncomingServer.downloadMailFromServers]"  nsresult: "0x804b0010 (NS_ERROR_OFFLINE)"  location: "JS frame :: chrome://messenger/content/mailTasksOverlay.js :: MailTasksGetMessagesForAllServers :: line 169"  data: no]
Source File: chrome://messenger/content/mailTasksOverlay.js
Line: 175
}}
> [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.1pre)
> Gecko/2008062703 Thunderbird/3.0a2pre] (nightly) (W2Ksp4)
> 
> No bug.

Not true (see below).

> Error: [Exception... "Component returned failure code: 0x804b0010
> (NS_ERROR_OFFLINE) [nsIPop3IncomingServer.downloadMailFromServers]"  nsresult:
> "0x804b0010 (NS_ERROR_OFFLINE)"  location: "JS frame ::
> chrome://messenger/content/mailTasksOverlay.js ::
> MailTasksGetMessagesForAllServers :: line 169"  data: no]
> Source File: chrome://messenger/content/mailTasksOverlay.js
> Line: 175

Bug 71105 changed the visibility of the respective problem, the corresponding message only got dumped to the shell before, e.g. in debug builds.

That said, we should check the offline state before trying stunts like that.
Assignee: mail → mnyromyr
Status: NEW → ASSIGNED
Attachment #327260 - Flags: superreview?(neil)
Attachment #327260 - Flags: review?(neil)
Blocks: 71105
Component: MailNews: Main Mail Window → MailNews: Notification
OS: Windows 2000 → All
Hardware: PC → All
Target Milestone: --- → seamonkey2.0alpha
What about movemail?
> What about movemail?

Doubtful.
If the user says "SM is offline", who are we to disagree?
 

Comment on attachment 327260 [details] [diff] [review]
check offline state, v1

>+  // don't try to biff if offline, but do so silently
I couldn't quite figure out what you were doing silently ;-)
Attachment #327260 - Flags: superreview?(neil)
Attachment #327260 - Flags: superreview+
Attachment #327260 - Flags: review?(neil)
Attachment #327260 - Flags: review+
Blocks: 442248
Landed on CVS trunk aka 1.9.0.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.2pre) Gecko/2008071115 SeaMonkey/2.0a1pre] (SEA-WIN32-TBOX-trunk) (W2Ksp4)

V.Fixed
Status: RESOLVED → VERIFIED
No longer blocks: 442248
Component: MailNews: Notification → MailNews: Message Display
QA Contact: search
You need to log in before you can comment on or make changes to this bug.