Re: Contact sync incorrect when there is a multi-part first name

Jan Schneider <[email protected]>
Newsgroups gmane.comp.horde.sync
Message-ID <[email protected]>
Zitat von Marcel Samek <[email protected]>:

>
> When testing syncing of my contact list on the iphone using the  
> Synthesis client, I noticed a problem with multi-part names.
>
> As a test case, I deleted all contacts in Turba and did a sync from  
> the iphone to the server.
>
> There were two (out of about 250) contacts that had multi-part first  
> names in the form "Dick and Jane" or "Harry & Sally". Both of them  
> resulted in the Turba contact having a first name consiting of the  
> first part of the first name (e.g. "Dick"), and the last name of  
> "and" or "&". The rest of the first name and the last name appears  
> to have been lost.
>
> My version information is:
>
> Horde: 3.3.4-RC1
> Turba: 2.3.1
>
> Here is an example of one of these contacts from /tmp/sync/data.txt
>
> Input received from client (text/x-vcard):
> BEGIN:VCARD^M
> VERSION:2.1^M
> REV:20090402T113013^M
> N:Oakes;Julie and Lee;;;^M
> FN:Julie and Lee Oakes^M
> TEL:^M
> EMAIL;WORK;INTERNET;X-Synthesis-Ref0:[email protected]^M
> URL:^M
> ADR:;;;;;;^M
> BDAY:^M
> END:VCARD
>
> input converted for server (text/x-vcard):
> BEGIN:VCARD^M
> VERSION:2.1^M
> REV:20090402T113013^M
> N:Oakes;Julie and Lee;;;^M
> FN:Julie and Lee Oakes^M
> TEL:^M
> EMAIL;WORK;INTERNET;X-Synthesis-Ref0:[email protected]^M
> URL:^M
> ADR:;;;;;;^M
> BDAY:^M
> END:VCARD

Should be fixed with this patch:
http://cvs.horde.org/diff.php/turba/lib/Driver.php?rt=horde&r1=1.57.2.84&r2=1.57.2.85&ty=u

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: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.