Closed Bug 788920 Opened 13 years ago Closed 13 years ago

Implement a way to force reload the social provider

Categories

(Firefox Graveyard :: SocialAPI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Felipe, Assigned: Felipe)

References

Details

Attachments

(1 file)

For bug 766616, whenever there is a problem with the social provider and we present an error message, we need to be able to restart the whole social provider to recover from the error (when the user clicks "Try Again"). (This might be related to bug 785920 but it's not quite the same thing as in that one it is the working reloading itself) Shane suggested calling SocialProvider._terminate() and then ._activate(), and reloading the UI, which I tried but that didn't seem to work properly (but maybe I did something wrong). I'll attach the patch
Attached patch PatchSplinter Review
This is what I tried so far. Shane or Mark, can any of you take a look at this bug?
Mark tested this more thoroughly and said that this patch actually works! Mark, could you also test if the reset-ui notification before _activate is necessary or if it can be removed?
(In reply to :Felipe Gomes from comment #2) > Mark, could you also test if the reset-ui notification before _activate is > necessary or if it can be removed? I just tested and confirmed it is necessary, as we speculated over IRC
I think this bug is out of date now - we do have a full "restart" of the provider implemented. Felipe, does that sound correct to you?
Assignee: nobody → felipc
Flags: needinfo?(felipc)
we do have reload
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Flags: needinfo?(felipc)
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: