Closed Bug 776227 Opened 12 years ago Closed 12 years ago

Handle missing providers more gracefully

Categories

(Thunderbird :: FileLink, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 17.0

People

(Reporter: Fallen, Assigned: Fallen)

Details

Attachments

(1 file)

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
Attached patch Fix - v1 β€” β€” Splinter Review
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+
comm-central changeset 6bfbaf41e44b
Status: ASSIGNED → RESOLVED
Closed: 12 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.

Attachment

General

Created:
Updated:
Size: