GNOME Bugzilla – Bug 782377
ESourceWebdav overrides ESourceAuthentication::method
Last modified: 2017-05-09 19:27:56 UTC
Adding a google account through GOA no longer adds the google task list. Calendar/email/address book are added automatically. I had to manually add the google task list via evolution. I am using master branch of evolution, e-d-s, and libgdata.
Thanks for a bug report. I can reproduce it too. While working on bug #781543, I made there a change with this comment: > /* When the WebDAV extension is created, the auth method can be reset, thus ensure > it's there before setting correct authentication method on the master source. */ > (void) e_source_get_extension (source, E_SOURCE_EXTENSION_WEBDAV_BACKEND); but it is not sufficient, I still see the authentication method for the master source being reset from 'OAuth2' to 'none', which causes the break of functionality here. It even fails to read calendars now. I do not know why it worked with this change when I've been working on bug #781543.
It was a challenge, I didn't know why it does so, then I realized that it's ESourceWebdav extension overriding ESourceAuthentication::method when user is empty. Such a bad idea. I changed it and then here you go, task lists are properly detected. Created commit 39e4a2d in eds master (3.25.2+) Created commit 9de82be in eds gnome-3-24 (3.24.3+)