Achim achim+roundcube@qustodium.net schrieb:
Hello:
On 20.04.2012 15:36, A.L.E.C wrote:
No, I just copied your test case.
Then I redacted it too much, clearly: sorry for the wasted energy.
Yes. All of this because you have both surname and firstname in required_fields definition. Here one doesn't exist, that's why the contact isn't imported. The logic is in rcube_ldap::validate() method.
I'm not sure we should do exception for import.
I tried the following two values for required_fields and am quite surprised at the outcome (using the exact same VCF file with the original 63 contacts):
- 'required_fields' => array('mail'),
Successfully imported 42 contacts:
- 'required_fields' => array('cn', 'sn', 'mail', 'givenName'),
Successfully imported 57 contacts:
Shouldn't a more expansive (i.e. more restrictive) required_fields lead
No. InetOrgPerson requires sn and cn... if they are reqired fields, RC is trying to suggest them somehow and it works... but this is not perfect yet :-)
Andreas
to the same or less contacts being imported, rather than more?
Perhaps there is some hidden logic that I don't understand?
Thanks, Achim _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users