[sync] firstname and lastname reversed

Deryk Piper deryk-lists at mod-soft.com
Mon Jul 28 20:22:06 UTC 2008


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?

DP






More information about the sync mailing list