[Tickets #12194] Re: ActiveSync: Children field is not synced

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Apr 19 15:53:58 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12194
------------------------------------------------------------------------------
  Ticket             | 12194
  Updated By         | Thomas Jarosch <thomas.jarosch at intra2net.com>
  Summary            | ActiveSync: Children field is not synced
  Queue              | Turba
  Version            | Git master
  Type               | Bug
-State              | Resolved
+State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Thomas Jarosch <thomas.jarosch at intra2net.com> (2013-04-19 15:53) wrote:

Hi,

I've seen you have changed the support a little with this:
---------------------
commit 307c2890949e2771e137b42827fe3b2a9bcd9363
Author: Michael J Rubinsky <mrubinsk at horde.org>
Date:   Thu Apr 18 12:39:19 2013 -0400

     Use a more likely delimter for the freeform children field.

     We will always export this as a single field instead of splitting
     on the delimiter since we can't guarentee what delimiter the user
     will use and a comma (the most likely choice) can also be used
     to seperate name suffixes (at least in some languages).
---------------------

I've tested that code and have the impression we generate
ActiveSync XML data not according to the spec:

With the new code, we send data like this:
---------------------
     2013-04-19T17:34:15+02:00 DEBUG: [12947] O        <POOMCONTACTS:Children>
     2013-04-19T17:34:15+02:00 DEBUG: [12947] O          Hans,  
blupper, horst, knut
     2013-04-19T17:34:15+02:00 DEBUG: [12947] O        <POOMCONTACTS:Children/>
---------------------

My old code sent data like this:
---------------------
2013-04-19T17:47:01+02:00 DEBUG: [12973] O        <POOMCONTACTS:Children>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O           Hans
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child/>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O           blupper
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child/>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O           horst
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child/>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O           knut4
2013-04-19T17:47:01+02:00 DEBUG: [12973] O         <POOMCONTACTS:Child/>
2013-04-19T17:47:01+02:00 DEBUG: [12973] O        <POOMCONTACTS:Children/>
---------------------

Or for a single entry:
---------------------
2013-04-19T17:50:28+02:00 DEBUG: [10285] O        <POOMCONTACTS:Children>
2013-04-19T17:50:28+02:00 DEBUG: [10285] O         <POOMCONTACTS:Child>
2013-04-19T17:50:28+02:00 DEBUG: [10285] O           Hans
2013-04-19T17:50:28+02:00 DEBUG: [10285] O         <POOMCONTACTS:Child/>
2013-04-19T17:50:28+02:00 DEBUG: [10285] O        <POOMCONTACTS:Children/>
---------------------



-> We are lacking the "child" XML attribute.






More information about the bugs mailing list