Last Comment Bug 776227 - Handle missing providers more gracefully
: Handle missing providers more gracefully
Product: Thunderbird
Classification: Client Software
Component: FileLink (show other bugs)
: unspecified
: x86 Mac OS X
-- normal (vote)
: Thunderbird 17.0
Assigned To: Philipp Kewisch [:Fallen]
Depends on:
  Show dependency treegraph
Reported: 2012-07-21 03:33 PDT by Philipp Kewisch [:Fallen]
Modified: 2012-09-26 04:00 PDT (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Fix - v1 (1.77 KB, patch)
2012-07-21 03:45 PDT, Philipp Kewisch [:Fallen]
mconley: review+
Details | Diff | Splinter Review

Description User image Philipp Kewisch [:Fallen] 2012-07-21 03:33:29 PDT
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
Comment 1 User image Philipp Kewisch [:Fallen] 2012-07-21 03:45:35 PDT
Created attachment 644619 [details] [diff] [review]
Fix - v1
Comment 2 User image Mike Conley (:mconley) 2012-08-02 10:24:25 PDT
Comment on attachment 644619 [details] [diff] [review]
Fix - v1

I like it. Thanks Fallen!
Comment 3 User image Philipp Kewisch [:Fallen] 2012-08-02 23:56:47 PDT
comm-central changeset 6bfbaf41e44b

Note You need to log in before you can comment on or make changes to this bug.