ckdevrel / vcardio

Automatically exported from code.google.com/p/vcardio
0 stars 0 forks source link

All numbers are imported as type "other" instead of "home", "mobile", "work", ... #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Import a VCF from kaddressbook 3.5.10
2. View any imported contact

What is the expected output? What do you see instead?

Numbers should have the correct type set - according to what was exported /
what is set in the VCF-file.

What version of the product are you using? On what operating system?

VCardIO: 0.11
KAdressbook: 3.5.10

Please provide any additional information below.

One entry in the vcf-file looks like this:

BEGIN:VCARD
ADR;TYPE=home:;;Street 12;Cityname;Region;9999;Germany
BDAY:1981-11-23T00:00:00Z
CATEGORIES:Mycustomcategory
CLASS:PUBLIC
EMAIL;TYPE=PREF:me@home.com
EMAIL:me@home.com
FN:Christian Meier
N:Meier;Christian;;;
NAME:Christian Meier
REV:2008-10-23T12:17:55Z
TEL;TYPE=HOME:+49000000
TEL;TYPE=CELL:+49000000
TEL;TYPE=WORK:+49000000
UID:vy0M8fzfUD
VERSION:3.0
END:VCARD

NOTE: There is a chance that this issue relates to issue #3: "Support vCard
version 3 natively"

Original issue reported on code.google.com by madc...@gmail.com on 8 Jun 2009 at 3:27

GoogleCodeExporter commented 9 years ago
Marking this as duplicate of issue #3 (the problematic vCard is a version 3.0 
vcard)

Original comment by duckt...@gmail.com on 8 Jun 2009 at 8:19

GoogleCodeExporter commented 9 years ago
Problem persists when I export into vCard version 2.1 (from KAdressbook). 
Suggesting
to re-open this issue;

Example entry:

BEGIN:VCARD
FN:Alexander Meier
N:Meier;Alexander;;;
NOTE;CHARSET=UTF-8;ENCODING=QUOTED-PRINTABLE:My_note_regarding_the_contact;
TEL;TYPE=CELL:+490000000000
UID:2FD8E5EF-1329-4196-8638-BD895EECCE81
VERSION:2.1
X-IRMC-LUID:000003000000
END:VCARD

Original comment by madc...@gmail.com on 22 Jul 2009 at 1:27

GoogleCodeExporter commented 9 years ago
Although it says "version: 2.1", the format is actually 3.0; 
the "TYPE=CELL" should be just "CELL" in version 2.1.

Original comment by duckt...@gmail.com on 22 Jul 2009 at 6:03

GoogleCodeExporter commented 9 years ago
Interesting. It seems kaddressbooks export feature for v 2.1 seems to be 
incorrect.
In Hardy as well as in the current version shipped with karmic.

Anyways I simply did a search & replace to delete the "TYPE=", but I am 
wondering if
the PHOTO, which is set to binary ("b") in the export, can simply be changed as 
well
or is the format "b" not available to 2.1 at all?

Original comment by madc...@gmail.com on 25 Jul 2009 at 12:12