[sync] I'm syncing but still a few issues
Beppe
horde.sync at beep.fdns.net
Tue Oct 23 17:21:16 UTC 2007
Beppe skrev:
> Hi,
>
> After replacing my dear old phone with a Motorola RAZR2 V8. i was able
> to do a pretty good synchronization of contacts.
>
> My source(backend) is a LDAP, where the entries was not added with turba.
> Now i understand that they have to, just to get the _uid ( suid ).
> I added some contacts in Turba and they where the only contacts showing
> up on the phone after a sync.
> I always thought that _uid would be added on the first sync.
>
> Now i have _uid on all objects and almost all of them are being
> synchronized.
>
> The pattern i can see for those not being synchronized in
> /tmp/sync/syncml_log.txt are contacts where the_uid are like this lines
> DEBUG: add: 20071021203756.95531gu3j57vxw9w at localhost
> DEBUG: check: contacts 20071021203756.95531gu3j57vxw9w at localhost
> text/x-vcard::
> ERR: api export call for 20071021203756.95531gu3j57vxw9w at localhost
> failed: Object not found
>
>
> The object is there, if i delete this contact and add it again,
> then an other contact will be effected and not synced and the re-added is.
>
> Well 41 of 45 is a good start so where can this bug be hidden?
>
> many thanks,
> ::Beppe
>
>
down the trace i found out it's a variable conflict,
In turba lib/api.php in the function _turba_export, here the $uid was
change to my login uid(?). After this line
require_once dirname(__FILE__) . '/base.php';
I think its a good idea to change the source.php.dist
Where the example for a personal_ldap ("My Address Book") is the one i
based mine.
Here you can see that $uid is used like this "$uid =
Auth::getBareAuth();" and change the ldap search criteria.
Now i get 100% synchronization,
::Beppe
More information about the sync
mailing list