[sync] client doesnt add/update a contact in turba

Holger Wegner holger.wegner at hamburg.de
Sun Jun 1 22:18:14 UTC 2008


I understand, the server id is allready there. But why. Where it did get it from?
I made another try, deleted all sync data from the server and the client, then synchronized from new from the server to the client (the addressbook was empty on the client). Now I added a new contact to the client and tried to synchronize it back to the server. Same result. It could not add the new entry with the same reason, the server id was allready there. 
Who does generate a this new id, that seems to be allready there. It was exactly the same id like before. Is it the id of the turba resource? But for a new resource, how an new id is generated? Is it generated by turba? I could find nothing in the horde log.

More confusing for me is, that the client cant delete a entry on a sync. here the log of this:
DEBUG:  Deleted entry  due to client request
DEBUG:  Received <Final> from client.
DEBUG:  Handle <Final> for state Sync
DEBUG:  Creating <Sync> output for server changes in database scard
DEBUG:  Created device class SyncML_Device_Sync4j
DEBUG:  Compiling server changes from 2008-06-01 22:50:24 to 2008-06-01 23:14:59
DEBUG:  SQL Query by SyncML_Backend_Horde::_getChangeTS(): SELECT syncml_timestamp FROM horde_syncml_map WHERE syncml_syncpartner = ? AND syncml_db = ? AND syncml_uid = ? AND syncml_suid = ?, values: fwm-0C935C03730C0C5584935C03F11800, contacts, holweg, 874404e1-0292-816c-91f6-4643a88a0406
DEBUG:  Deleted on server after request from client: 874404e1-0292-816c-91f6-4643a88a0406 ignored
DEBUG:  Sending 0 server changes for client URI scard
DEBUG:  Sending <Final> to client
DEBUG:  Return message completed
DEBUG:  Finished at 2008-06-01 23:15:30. Packet logged in /tmp/sync/server_181.xml

Quoting Jan Schneider <jan at horde.org>:

> Zitat von Holger Wegner <holger.wegner at hamburg.de>:
>
>> There is nothing special:
>>
>> DEBUG:  Backend of class SyncML_Backend_Horde created
>> DEBUG:  Started at 2008-05-28 12:26:07. Packet logged in
>> /tmp/sync/client_11.xml
>> DEBUG:  Existing session continued: a5730d226fe51e90e3b24e5815533f86
>> DEBUG:  Authenticated: yes; version: 1.1; message ID: 2; source URI:
>> fwm-0C935C03730C0C5584935C03F11800; target URI:
>> https://holoweg.gotdns.org:443/horde/rpc.php; user: holweg; charset:
>> UTF-8; wbxml: no
>> DEBUG:  Created device class SyncML_Device_Sync4j
>> DEBUG:  Handling <Add> sent from client
>> DEBUG:  Created device class SyncML_Device_Sync4j
>> DEBUG:  Adding client entry to server: already exists with server id
>> 2c2e2ac880a0ed7a7e9e63f4190f1f52
>
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> This is the important message.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
>
>


More information about the sync mailing list