Good afternoon:
More progress: going from 0.7.2 to svn, the number of successfully imported contacts increased automagically from 42 to 57 (out of 63) using the same underlying VCF file, thanks to Alec's changes.
Now only 6 cards (all with the following structure) are not imported because they miss the N: field:
BEGIN:VCARD VERSION:3.0 FN:first last EMAIL;type=INTERNET;type=OTHER:first.last@example.com END:VCARD
Once I add an N: field and a corresponding value manually to those 6 contacts, the import is successful also for those remaining cards.
I also tried exporting the same SQL-based contacts with the latest SVN version to see if that helps, but the number of imported contacts stays at 57.
Secondly, as mentioned in the other messages, the following card is imported, but only partially:
BEGIN:VCARD VERSION:3.0 N:Last;First;;; FN:First Last EMAIL;type=INTERNET;type=WORK:first.last.work@example.com EMAIL;type=INTERNET:first.last@example.com TEL;type=MOBILE:1234 URL:http://acme.com ADR:;;Park Av 100;NY;;12345; ORG:Org END:VCARD
On the first issue, would it be possible to generate the N: field automatically upon export if it does not exist in SQL already to improve compatibility with LDAP imports?
On the second issue (partial import), I understand that Andreas is addressing part of this with Thomas (for multiple email addresses), but for home and work addresses to work at the same time the solution is to use a schema different from or based on inetOrgPerson, such as evolutionperson.schema, in line with f3isar's suggestion?
Is there a schema that can make LDAP store everything that roundcube offers, and at the same time do so in a fashion compatible with iOS, Android and Outlook?
Thank you in advance, Achim