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 698971 - Email2 is not removed on a contact
Email2 is not removed on a contact
Status: RESOLVED NOTGNOME
Product: evolution-ews
Classification: Other
Component: Contacts (personal addressbooks)
3.8.x
Other Linux
: Normal normal
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-26 16:40 UTC by Milan Crha
Modified: 2013-09-13 12:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
protocol.zip (4.42 KB, application/zip)
2013-09-13 12:54 UTC, Milan Crha
Details

Description Milan Crha 2013-04-26 16:40:23 UTC
I just realized that deleting the second email on a contact doesn't work.
Check these steps:

a) Create a new contact with these values:
    Full Name: User name
    Work Email: work@no.where
    Other Email: other@no.where
    (the other email is the one below the Work email entry in the evo's UI)
b) save the contact, verify in OWA that the values are there.
c) edit the contact, and delete the other@no.where email
d) save the contact

Current result:
when moving to other contact and back (or even logging out and in to OWA) the contact still shows the EMail2, even it should be deleted.

Expected result:
OWA also shows the EMail2 as deleted.

Additional info:

I see a request on the book factory:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Header><types:RequestServerVersion xmlns:types="http://schemas.microsoft.com/exchange/services/2006/types" Version="Exchange2007_SP1"/></SOAP-ENV:Header><SOAP-ENV:Body xmlns:messages="http://schemas.microsoft.com/exchange/services/2006/messages"><messages:UpdateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/types" ConflictResolution="AlwaysOverwrite" MessageDisposition="SendAndSaveCopy" SendMeetingInvitationsOrCancellations="SendToAllAndSaveCopy"><messages:SavedItemFolderId><FolderId Id="AAMkAGFhNWJkY2VjLTZkMGYtNDAxZi05MzJiLWM5Nzk5YjNlZWE1MQAuAAAAAACiAADM9ruVQ6Evwv91CZjQAQAcr3hHVWVAS5inRJae6omjAAAAg5CeAAA="/></messages:SavedItemFolderId><messages:ItemChanges><ItemChange><ItemId Id="AAMkAGFhNWJkY2VjLTZkMGYtNDAxZi05MzJiLWM5Nzk5YjNlZWE1MQBGAAAAAACiAADM9ruVQ6Evwv91CZjQBwAcr3hHVWVAS5inRJae6omjAAAAg5CeAAAcr3hHVWVAS5inRJae6omjAAB9/ILeAAA=" ChangeKey="EQAAABYAAAAcr3hHVWVAS5inRJae6omjAAB9/Itu"/><Updates><DeleteItemField><IndexedFieldURI FieldURI="contacts:EmailAddress" FieldIndex="EmailAddress2"/></DeleteItemField></Updates></ItemChange></messages:ItemChanges></messages:UpdateItem></SOAP-ENV:Body></SOAP-ENV:Envelope>

which finished successfully.
Comment 1 Milan Crha 2013-09-03 18:08:12 UTC
This is interesting, Exchange 2010 server, I try to reproduce this, and the EWS interface returns the contact without the EmailAddress2 (as a GetItem response), but both OWA and Outlook (2007) show both addresses. It feels like an Exchange server issue.
Comment 2 Milan Crha 2013-09-13 12:54:49 UTC
Created attachment 254856 [details]
protocol.zip

Here is a protocol I recorded. The files are named in a convention:
XXX_F_T.xml, where 
   - XXX is an index of the request/response
   - F is from where it came ('c' for client, 's' for server)
   - T is to where it came ('s' to server, 'c' to client)
Example: 000_c_s.xml is what came first from client to server, while
000_s_c.xml is what the server returned to the client for the 000 request.

000 - creates a new contact with two emails (CreateItem)
001 - deletes the EmailAddress2 (UpdateItem)
002 - checks actual content on the server (GetItem)

Note the 002 shows the contact as with only one address, which is expected, but the OWA interface and Outlook interface (connected through MAPI) still show both email addresses.
Comment 3 Milan Crha 2013-09-13 12:56:25 UTC
Due to the capture I close this as Not gnome.

David, if you could, please use the capture and escalate it through your IT. Thanks in advance.