On 12.04.2012 12:13, A.L.E.C wrote:
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.
My mistake, FN => 'displayname' => 'name'. So the problem is different. On import rcube_ldap::validate() with autofix argument enabled is not called. Maybe we just should use it before import().