On 12.04.2012 12:02, Achim wrote: > Hello again: > > The exports from my RC SQL address book look like this: > > BEGIN:VCARD > VERSION:3.0 > FN:John Doe > EMAIL;type=INTERNET:[email protected] > END:VCARD > > Importing that kind of card fails silently. > > Manually adding the N line and editing the email line to read like this > (adding ";type=WORK") > > N:Doe;John;;; > EMAIL;type=INTERNET;type=WORK:[email protected] > > so that the final VCF looks like this: > > BEGIN:VCARD > VERSION:3.0 > N:Doe;John;;; > FN:John Doe > EMAIL;type=INTERNET;type=WORK:[email protected] > END:VCARD > > makes the import from a default RC sql export work. Two observations:
The problem is with 'required_fields' in addressbook config. Also when handling VCARD data FN is mapped to displayname. Maybe we can modify rcube_ldap::validate() to fill 'name' with displayname, if it's empty but 'displayname' exists. I'm not sure if it's all, this can be config dependent. You should create a ticket for this. -- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net] --------------------------------------------------- PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Users mailing list [email protected] http://lists.roundcube.net/mailman/listinfo/users
