6.0.0-beta1
7/3/25

[#11936] ActiveSync: business country and multiple emails on a contact
Summary ActiveSync: business country and multiple emails on a contact
Queue Turba
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester ryu (at) ryux (dot) org
Created 01/05/2013 (4562 days ago)
Due
Updated 01/09/2013 (4558 days ago)
Assigned 01/07/2013 (4560 days ago)
Resolved 01/09/2013 (4558 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/09/2013 02:27:27 PM Michael Rubinsky Version ⇒ Git master
Queue ⇒ Turba
 
01/09/2013 02:26:48 PM Michael Rubinsky State ⇒ Resolved
 
01/09/2013 02:26:14 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 703427ec8294658b443b501cbd477571222274ce
Author: Ryu <ryu@ryux.org>
Date:   Wed Jan 9 09:24:04 2013 -0500

     Bug #11936 Fix setting business country.

     Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>

  turba/lib/Driver.php |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/703427ec8294658b443b501cbd477571222274ce
01/09/2013 10:28:41 AM ryu (at) ryux (dot) org Comment #5
New Attachment: 0001-Fix-bug-11936-Setting-business-country-corrupts-emai.patch Download
Reply to this comment
And this is the patch for git
01/08/2013 03:38:13 PM ryu (at) ryux (dot) org Comment #4 Reply to this comment
Finally, I found the solution.
There is a missing break after the workCountry in toASContact function 
in turba.

turba/lib/Driver.php line ~2473
Just add "break;"

:)

And all will be ok

Ryu
01/07/2013 09:31:26 AM ryu (at) ryux (dot) org Comment #3 Reply to this comment
Yes, of course.
The test case is even simplier than I believed...
Just create a new contact and set the business country as France for example.
Sync this contact with ActiveSync.
In result, you will see that emailAddress1 field has for value the 
"code" of the country : "FR". So, this contact will have in your 
device a dummy mail address : "FR"

Ryu
01/07/2013 01:07:38 AM Michael Rubinsky Comment #2
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Can you be a bit more specific as to what is "not well synchronized"? 
What, exactly, is the result?
01/05/2013 12:17:22 PM ryu (at) ryux (dot) org Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ActiveSync: business country and multiple emails on a contact
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

if you set a business country on a contact which have multiple emails 
address, the first address is not well synchronized and have for value 
the code of the country.

There is no problem with the home country.

Ryu

Saved Queries