GNOME Bugzilla – Bug 674165
crash when the keyring is locked
Last modified: 2012-06-20 13:08:32 UTC
I'm seeing a crash in goa_oauth_provider_add_account, in the following situation: 1. The keyring is locked 2. I set up a google account 3. after entering my google credentials, the keyring dialog pops up 4. I hit cancel
Created attachment 212142 [details] [review] Handle failures to store credentials in the keyring in a better way
Review of attachment 212142 [details] [review]: Is that the right thing, though ? I mean, yes, we can't store the secret at this time, but is the account really 'stillborn' ? Maybe I just don't want to store the credentials at this time, but instead will do it the next time I get the online account login dialog ?
Created attachment 212157 [details] [review] Handle failures to store credentials in the keyring in a better way This exposed some bugs in the refresh_account code paths of the Exchange provider. :-) The control center panel needs to be updated because we have changed the basic assumption that when an error occurs the returned object is NULL.
Created attachment 212166 [details] [review] online-accounts: We might have an object even when the error is set This is for the GOA panel in the control center. Getting an object and error are not mutually exclusive any more.
Review of attachment 212166 [details] [review]: Looks good to me
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.