GNOME Bugzilla – Bug 696285
ownCloud: Check addressbook even if calendar fails
Last modified: 2013-09-14 16:56:04 UTC
After configuring owncloud's addressbook (I used owndrive.com), new addressbook was not created (calendar did appear)
Thanks for a bug report. The last time I tried, my server was not responding that quickly on https with addressbook, while calendar responded fine. Thus I guess the evolution-source-registry is waiting for a response from the server, or something failed.
Could you run the source registry from a console, and check its output, please? There is no extra debugging available for the ownCloud module, but if you run the source registry also under gdb, and place a breakpoint into owncloud_utils_search_server(), then you might see two calls to find_sources(), the first is for calendar sources, while the second for addressbook. Please check what the find_sources() does for 'addressbooks'.
Feel free to ping me on IRC, if you'll need more detailed guidance.
Happens on owndrive.com, as they have disabled listing of available addressbooks due to owncloud 5.0RC2 bug https://github.com/owncloud/apps/issues/702, will verify on previous versions
Created attachment 239540 [details] [review]
owncloud: owncloud: try to add addressbook even if calendar has failed
Keeping the issue open as all owncloud since 5.0 are affected (especially the most popular one - owndrive.com), however this is not e-d-s fault.
Meanwhile, the attached patch improves owncloud instance handling - calendar might not be added due to some reason and this should not block creation of new addressbooks
Review of attachment 239540 [details] [review]:
Apart of the one thing looks good. Please commit to gnome-3-8 and master, after you'll change that. Thanks.
@@ +636,3 @@
+ gboolean res_calendars = TRUE;
+ gboolean res_contacts = TRUE;
You changed logic of this a bit, thus I would change the default values to FALSE instead.
Committed 141144a5 to master
Committed 7cee41f4 to gnome-3-8