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 686228 - Cannot fetch list of addressbooks.
Cannot fetch list of addressbooks.
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Contacts (Global Address List)
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-10-16 16:20 UTC by David Woodhouse
Modified: 2012-10-31 16:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ews patch (1.49 KB, patch)
2012-10-24 13:27 UTC, Milan Crha
committed Details | Review

Description David Woodhouse 2012-10-16 16:20:51 UTC
As I'm creating a new EWS account, on hitting the 'Fetch List' button to get the list of available GAL address books, I just get '403 permission denied'. When I complete the account creation, it seems that my mail and calendar are working fine. Switching from NTLM to basic auth also fails, as expected.
Comment 1 Milan Crha 2012-10-24 13:02:52 UTC
Downstream bug report about the same:
https://bugzilla.redhat.com/show_bug.cgi?id=868437

After investigation, the 3.4.x did append "oab.xml" into OAB URL, while current ews code doesn't do that. I'll change it, but the account will need user's attention anyway (aka re-fetch URL-s).
Comment 2 Milan Crha 2012-10-24 13:27:43 UTC
Created attachment 227147 [details] [review]
ews patch

for evolution-ews;

I added check for suffix too, just to be sure the oab.xml will not added into URL twice, though it's most likely useless, at least till the 2013 server is out (then we can test it also there and see whether they changed anything there).
Comment 3 Milan Crha 2012-10-24 13:30:55 UTC
Created commit 978e8f2 in ews master (3.7.2+)
Created commit e28cb2f in ews gnome-3-6 (3.6.2+)
Comment 4 David Woodhouse 2012-10-31 13:47:38 UTC
Hm, I updated from git but still have to manually add /oab.xml to the autodiscovered location.
Comment 5 David Woodhouse 2012-10-31 13:48:55 UTC
Ah, wait. I misunderstood the fix. the /oab.xml is supposed to be appended at autodiscover time, not when I ask it to fetch the list of addressbooks? In that case I didn't test...
Comment 6 Milan Crha 2012-10-31 16:37:06 UTC
It's supposed to be added to OAB URL when you click "Fetch URL". Works fine here.