Ensure CSV imported vCard-s have FN property
I export a .cvs file from outlook.com and then import it in a CardDAV based address book in Evolution. The file has values only in the columns “First Name”, “Mobile phone”, and sometimes in “Last name”. Evolution needs a lot of time to handle 50 contacts, but eventually is ready. Then it calls
HTTP PUT
BEGIN:VCARD
VERSION:3.0
UID:b84d5b04ba11dcfc268c333ffbd48c1316cc962a
N:ABCD
TEL;TYPE=CELL:+123456789
END:VCARD
on which the server responds with:
HTTP/1.1 403 Forbidden
Date: Thu, 04 Jul 2019 13:06:36 GMT
Content-Type: application/xml; charset=utf-8
Content-Length: 239
Connection: close
Cache-Control: no-cache
<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:carddav">
<C:valid-address-data/>
<D:responsedescription>FN is missing (RFC 2426 Section 3, RFC 6350 Section 6)</D:responsedescription>
</D:error>
- When Evolution creates vCard files, it must ensure that the
FN
property is present.
Edited by Milan Crha