GNOME Bugzilla – Bug 778775
Add carddav scope to google-contacts.service for Ubuntu online accounts
Last modified: 2017-02-20 14:14:42 UTC
Created attachment 345967 [details] [review] add_carddav_scope_uoa.patch This bug was reported on launchpad https://bugs.launchpad.net/ubuntu/+source/evolution-data-server/+bug/1628792 Problem Description: Google cardav scope ('https://www.googleapis.com/auth/carddav') is missing from contacts service file. After adding a google account in UOA, syncevolution can use that access token for carddav services. For example, running following command: ''' SYNCEVOLUTION_DEBUG=1 syncevolution --print-databases –daemon=no\ loglevel=2 backend=carddav username=uoa:3,google-contacts\ syncURL=https://www.googleapis.com/.well-known/carddav ''' gives following error: “
The bug description cut off...continuing..... gives following error: "PROFIND:" NEON error code 1: 403 Forbidden, must not retry" Adding the carddav scope solves the issue. 'https://www.googleapis.com/auth/carddav' I added a simple patch for example.
Thanks for a bug report and patch. I committed it to sources with the below change. Pity you didn't do this the last week, as it could reach also 3.22.5 release, the final in 3.22.x. Created commit ce81845 in eds master (3.23.91+)
Thanks Milan. Yes, It seems I did missed it. I will check if Ubuntu wants to carry this patch for zesty (and eds-3.22.x).
I decided to release 3.22.6 after some time, thus: Created commit d133dae in eds gnome-3-22 (3.22.6+)