After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 752994 - Google authentication method overwritten for GOA books
Google authentication method overwritten for GOA books
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Contacts
3.16.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2015-07-29 06:08 UTC by Rudolf Künzli
Modified: 2015-08-05 20:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rudolf Künzli 2015-07-29 06:08:31 UTC
While adding I am getting the error message:
You are attempting to move a contact from one address book to another
but it cannot be removed from the source. Do you want to save a copy
instead?
If I hit Yes the following message appears:
Error adding contact - Unknown error.

If y try to modify a contact the windows look very strange. All field
names are not highlighted (looks like read-only) and I can't add or
modify a content in any field.

---

I deleted the GOA for Google and did setup a new one (same email
address and password).
It seems the problem did disappear as I could add/modify Google
contacts.

---

The problem is not solved...
I spent some time to figure out when it happens.
Here is what I found out:
After I did re-setup GOA it works absolutely fine.
The moment I check one of the boxes "Use in Birthdays & Anniversary
Calendars" or "Mark as default address book" in "property" of Contacts
(Google), the problem arises again...
For the moment I don't touch this boxes and it runs fine.

---

From Milan Crha on Evolution List:

        Hi,
that's a good catch. The issue most likely resides in the evolution
-data-server, though also in the evolution, because it didn't claim the
error about failed open to the UI.

I see that after the change the corresponding contacts .source file
changes Authentication method to ClientLogin, while it should use
OAuth2. When I changed it to OAuth2 in ~/.cache/evolution/sources/<goa
-account-uid>/<another-uid>.source and restarted all evolution
processes, definitely evolution-source-registry, then the book begun to
work again.

I'd appreciate if you could file a bug against evolution-data-server in
GNOME's bugzilla with your description of the findings.

---

Rudolf
Comment 1 Milan Crha 2015-08-05 20:51:21 UTC
Thanks for a bug report. There were two issues, one described in bug #752114, another in the configuration dialog itself, which forced ClientLogin method unconditionally for the Google books, while it should do it only for non-GOA/non-UOA sources.

Created commit 72e534c in evo master (3.17.90+)
Created commit 9324033 in evo gnome-3-16 (3.16.5+)