[sync] Turba contact photos not synced with Synthesis client

Thomas Trethan thomas at trethan.net
Fri May 28 09:34:04 UTC 2010



After doing a lot of tests together with the Synthesis crew they sent me the following explanation:

1) The Horde devInf is wrong. The correct type name is text/vcard, as  sent with the items (which have the correct type). But the devInf shows  text/directory, which is not correct.
(our client ignores that, this is not the main reason for the problem)

2) We decoded the sent photo information. All the sent photos are  completely corrupted and can't be displayed therefore. It looks like a  wrong conversion from ANSI to UTF-8, e.g. the type is something like  JFIF (not JPEG). So the server sends complete garbage within the photo  field.

A real JPG starts with:

FF D8 DD E0 00 10 4A

What we get is:

C3 BF C3 98 C3 BF C3 A0 00 10 4A

The starting C3 BF is simply FF in UTF-8.

Regards, Tom
  Quoting sync-request at lists.horde.org:

> Since Turba is sending the photo back to the client, it's got to be a
> client issue. Can you verify that the PHOTO attribute looks the same
> in both sync directions?
>
> Jan.



More information about the sync mailing list