GNOME Bugzilla – Bug 732890
Refresh authoriser on receiving SOUP_STATUS_NOT_FOUND
Last modified: 2014-07-09 03:52:30 UTC
In gdata-service.c:741, we should refresh authorization if we get SOUP_STATUS_NOT_FOUND because PicasaWeb returns SOUP_STATUS_NOT_FOUND when we try to access a resource, if the authorizer is not refreshed.
Created attachment 280134 [details] [review] core: Refresh authoriser on receiving SOUP_STATUS_NOT_FOUND
Review of attachment 280134 [details] [review]: Do you have an example of this happening? e.g. A debug log with LIBGDATA_DEBUG=3 G_MESSAGES_DEBUG=all. Just for the record. The patch looks good though. Thanks!
Attachment 280134 [details] pushed as 268397c - core: Refresh authoriser on receiving SOUP_STATUS_NOT_FOUND
(In reply to comment #2) > Do you have an example of this happening? e.g. A debug log with > LIBGDATA_DEBUG=3 G_MESSAGES_DEBUG=all. Just for the record. Yes. I got 'No photo found' error when using gdata_service_query_single_entry () for Picasa Web photos. On debugging, I found that this was the reason. Thanks for the commit, Philip.
Created attachment 280202 [details] Log I have added the relevant part of log as attachment for the sake of completeness.