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 685090 - GOA EWS module doesn't save all required values
GOA EWS module doesn't save all required values
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: general
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Evolution Shell Maintainers Team
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-09-29 08:05 UTC by Maciej (Matthew) Piechotka
Modified: 2012-11-02 09:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (3.99 KB, patch)
2012-11-02 09:34 UTC, Milan Crha
committed Details | Review

Description Maciej (Matthew) Piechotka 2012-09-29 08:05:54 UTC
If username differes from e-mail it looks like it is forgotten despite setting it manually in g-o-a (If I add the account from evolution it shows the username when it queries the user but not when I add it by g-o-a).
Comment 1 Debarshi Ray 2012-09-29 09:20:21 UTC
Which provider is this?

By username, do you mean the string that you use to log into the web page? Can you give an example username and email?
Comment 2 Maciej (Matthew) Piechotka 2012-09-29 10:08:49 UTC
(In reply to comment #1)
> Which provider is this?
> 

Ups. Sorry - it is the Exchange provider. So email can be different then username.
Comment 3 André Klapper 2012-09-29 16:31:34 UTC
Version info is also welcome (by setting the "Version" field)...
Comment 4 Maciej (Matthew) Piechotka 2012-09-30 04:48:56 UTC
Ups. Sorry - 3.6.0 (the first stable version including exchange support).
Comment 5 Debarshi Ray 2012-10-30 17:08:13 UTC
What do you exactly mean by forgetting the username?

While playing with the GOA - EWS integration, I noticed that the User and Email values in ~/.config/evolution/sources/<uid>.source are empty for a GOA configured account, unlike those created directly in Evolution itself. Is this what you are talking about?

(<uid> for a GOA account would start with the numerical part of the account's Id DBus property, or the file would have a section named [GNOME Online Accounts])
Comment 6 Maciej (Matthew) Piechotka 2012-10-30 17:23:04 UTC
(In reply to comment #5)
> What do you exactly mean by forgetting the username?
> 
> While playing with the GOA - EWS integration, I noticed that the User and Email
> values in ~/.config/evolution/sources/<uid>.source are empty for a GOA
> configured account, unlike those created directly in Evolution itself. Is this
> what you are talking about?
> 
> (<uid> for a GOA account would start with the numerical part of the account's
> Id DBus property, or the file would have a section named [GNOME Online
> Accounts])

My email is EMAIL@SERVER while my login is username. When I enter the evolution I am asked for password which does not work. Later on I am asked for password to EMAIL@SERVER (instead, as with ews account added from Evolution, for USER@SERVER) and I cannot log into my account.
Comment 7 Debarshi Ray 2012-10-30 17:33:51 UTC
Thanks for the quick response. At this point I would say that this is a bug in the GOA module in evolution-data-server. It is not correctly mapping the values exported by GOA to their counterparts in EDS.

Reassigning to evolution-data-server.
Comment 8 Debarshi Ray 2012-10-30 17:47:30 UTC
In the meantime, can you check ~/.config/goa-1.0/accounts.conf whether Identity has your username, PresentationIdentity your email, and Host your EWS endpoint? From my reading of the code, it should, but my test setup is different from yours.

In my test setup I have:

[Account account_1351611544]
Provider=exchange
Identity=user
PresentationIdentity=user@domain.com
MailEnabled=true
CalendarEnabled=true
ContactsEnabled=true
Host=exchange2010.domain.com

So this is different from yours because the username part of the email is actually my username too.
Comment 9 Milan Crha 2012-11-02 09:34:47 UTC
Created attachment 227877 [details] [review]
eds patch

for evolution-data-server (gnome-3-6 branch);

I can confirm this. The eds goa module didn't do things correctly. This fixes the issue, thus when user configures an Exchange account in GOA, it is usable in evolution too.
Comment 10 Milan Crha 2012-11-02 09:41:05 UTC
Created commit c81d3a8 in eds master (3.7.2+)
Created commit 8f1a951 in eds gnome-3-6 (3.6.2+)