org-vcard
org-vcard copied to clipboard
org-vcard import crashes on vcards without name
...and n900 creates those.
BEGIN:VCARD^M VERSION:3.0^M UID:osso-abook-tmc1^M X-SKYPE;TYPE=skype;X-OSSO-VALID=yes:echo123^M END:VCARD
Well, the vCard 3.0 spec says that a vCard object MUST include an FN entry, so the n900 is being rather impolite here. :-)
Still, org-vcard
should certainly be robust against such issues - thanks for reporting this! To help me work out how to handle this situation, could you let me know: does the n900 create vCards that don't have an FN or N entry, but do have other contact information (e.g. a telephone number)?
Still,
org-vcard
should certainly be robust against such issues - thanks for reporting this! To help me work out how to handle this situation, could you let me know: does the n900 create vCards that don't have an FN or N entry, but do have other contact information (e.g. a telephone number)?
It certainly creates some with skype contacts. Not sure if it can happen with phone numbers.
I guess you've enhanced things as it doesn't crash on:
N=;;; FN=
When importing a VCard, though, it creates a blank Org header with all the proper PROPERTY values. Is this right, though? What if the VCard is for a Company (ie. ORG=something)?