Bug 2071893

Summary: evolution 3.40 is unable to access google address book. Contacts API is being deprecated
Product: Red Hat Enterprise Linux 9 Reporter: Milan Crha <mcrha>
Component: evolution-data-serverAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Michal Odehnal <modehnal>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: desktop-qa-list, lbohnsac, panos.asproulis, tpelka
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: evolution-data-server-3.40.4-4.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2071056 Environment:
Last Closed: 2022-11-15 10:02:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2071056    
Bug Blocks:    
Deadline: 2022-04-25   

Description Milan Crha 2022-04-05 05:50:29 UTC
+++ This bug was initially created as a clone of Bug #2071056 +++

Description of problem:
RHEL9 beta is shipped with evolution 3.40 which has unfortunately still the issue "Contacts API is being deprecated" 

Version-Release number of selected component (if applicable):
3.40

How reproducible:
always

Steps to Reproduce:
1. Setup a Google Online Account 
2. Start evolution
3. Switch to Contacts and click on Contacts of the Online Account

Actual results:
Error message:
Failed to connect address book “lbohnsac : Contacts”

Invalid request URI or header, or unsupported nonstandard parameter: Contacts API is being deprecated. Migrate to People API to retain programmatic access to Google Contacts. See https://developers.google.com/people/contacts-api-migration.

Expected results:
Access to the address book

Additional info:
There is evolution 3.42 available which fixes the issue.

--- Additional comment from Milan Crha on 2022-04-04 06:43:37 UTC ---

Thanks for a bug report. I guess I can backport relevant changes to the evolution-data-server [1] and evolution. The only downside is that there are two new translatable strings (which is the reason, why this change didn't reach the 3.40.x series upstream).

[1] https://gitlab.gnome.org/GNOME/evolution-data-server/-/commit/d63a1ce3921a6a6c573a6a70dbf2e152adf74c3f
[2] https://gitlab.gnome.org/GNOME/evolution/-/commit/f19eeea7601f1ddeae074fab52eba5fe5b389bb5

Comment 3 Milan Crha 2022-06-09 06:54:49 UTC
*** Bug 2095139 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2022-11-15 10:02:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (evolution-data-server bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:7995