Handle missing providers more gracefully

RESOLVED FIXED in Thunderbird 17.0

Status

Thunderbird
FileLink
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: Fallen, Assigned: Fallen)

Tracking

unspecified
Thunderbird 17.0
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
I used to have Dropbox as a filelink provider which is now obviously gone. When doing certain operations (like enumerating accounts), there are some error console messages. Since the same thing may happen with Filelink extensions, I think certain errors should be swallowed and the account not returned.

Relevant errors are:

Timestamp: 7/21/12 12:26:52 PM
Error: [Exception... "Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsICategoryManager.getCategoryEntry]"  nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)"  location: "JS frame :: resource:///modules/cloudFileAccounts.js :: <TOP_LEVEL> :: line 88"  data: no]
Source File: resource:///modules/cloudFileAccounts.js
Line: 90

Timestamp: 7/21/12 12:26:52 PM
Error: provider is null
Source File: resource:///modules/cloudFileAccounts.js
Line: 46
(Assignee)

Comment 1

5 years ago
Created attachment 644619 [details] [diff] [review]
Fix - v1
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #644619 - Flags: review?(mconley)
Comment on attachment 644619 [details] [diff] [review]
Fix - v1

I like it. Thanks Fallen!
Attachment #644619 - Flags: review?(mconley) → review+
(Assignee)

Comment 3

5 years ago
comm-central changeset 6bfbaf41e44b
Status: ASSIGNED → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 19.0
Target Milestone: Thunderbird 19.0 → Thunderbird 17.0
You need to log in before you can comment on or make changes to this bug.