[sync] firstname and lastname reversed

Jan Schneider jan at horde.org
Wed Jul 30 22:10:08 UTC 2008


Zitat von Deryk Piper <deryk-lists at mod-soft.com>:

> I just noticed this.  Again, running Synthesis v3.0.2.22, Horde 3.2.1, Turba
> 2.2.1.
>
> Synthesis generated the following vcard (from data.txt):
>
> BEGIN:VCARD
> VERSION:2.1
> N:familyname;givenname;middlename;;
> FN:familyname, givenname
> TITLE:
> ORG:;
> BDAY:
> TEL;HOME;VOICE;X-Synthesis-Ref1:(xxx) xxx-xxxx
> TEL;HOME;VOICE;X-Synthesis-Ref2:(905) xxx-xxxx
> EMAIL:email at no.one
> URL:
> CATEGORIES:
> NOTE:
> ADR;HOME:;;;;;;
> PHOTO:
> END:VCARD
>
> In Turba, the contact was imported as "familyname, middlename givenname"
> where:
>
> - "familyname," became the given name
> - middlename was correct
> - "givenname" became the family name
>
> If only two names are specified in the original vcard - given and family -
> they are imported reversed in Turba.
>
> If I remove the FN field from the vcard data, Horde correctly parses the N
> field.  The FN field is optional in the vcard spec and is for formatting
> only; why is it being used to determine the name parts?

It shouldn't.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the sync mailing list