Bug 49802 - vcard does not get displayed, kmail shows error instead
Summary: vcard does not get displayed, kmail shows error instead
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.4.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-27 23:06 UTC by Christian Wolfgang Hujer
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
self generated VCard-file (332 bytes, text/directory; profile="vcard"; charset=us-ascii)
2002-10-28 07:20 UTC, Christian Wolfgang Hujer
Details
Another vCard-file, this time from kabc (625 bytes, text/directory; profile="vcard"; charset=utf-8)
2002-10-28 07:22 UTC, Christian Wolfgang Hujer
Details
Yet another vCard-file. This time with email type. Still did not work with kmail. (346 bytes, text/directory; profile="vcard"; charset=utf-8)
2002-10-28 07:23 UTC, Christian Wolfgang Hujer
Details
vCard example from RFC 2425 (285 bytes, text/directory; profile="vcard"; charset=utf-8)
2002-10-28 07:24 UTC, Christian Wolfgang Hujer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Wolfgang Hujer 2002-10-27 23:06:10 UTC
Version:           1.4.3 (using KDE KDE 3.0.4)
Installed from:    SuSE RPMs
OS:          Linux

I have sent myself two vcards, one taken from kab, one generated myself.
kmail does not like to display them, obviously, and gives me an error message instead
(German error text: Fehler beim Lesen der Visitenkarte: Die Zeile der Visitenkarte war fehlerhaft, which translates Error while reading vcard: The line of the vcard was faulty).

I will attach both vcards.

This bug is unconfirmed, since the vcard files might really be corrupt.
But if they are, kab produces corrupt vcard files, so I will open a new bug report for kab.
Comment 1 Christian Wolfgang Hujer 2002-10-27 23:06:34 UTC
Example vcard 
BEGIN:VCARD 
VERSION:2.0 
UID:tnhwTvuwr 
FN:Herr Christian Wolfgang Hujer 
EMAIL:Christian.Hujer@itcqis.com 
EMAIL:Christian@hujer.com 
X-KADDRESSBOOK-X-AssistantsName:Frau Lilla Steć 
URL:http://www.itcqis.com/ 
N:Hujer;Christian;Wolfgang;Herr; 
ROLE:Geschäftsführender Gesellschafter 
ORG:ITCQIS GmbH 
ADR;TYPE=work:;;Johanneskirchnerstr. 132;München;;D-81927;Deutschland 
ADR;TYPE=home:;;Johanneskirchnerstr. 132;München;;D-81927;Deutschland 
TEL;TYPE=home:+49  (0)89  27 37 04 37 
TEL;TYPE=work:+49  (0)89  27 37 04 37 
TEL;TYPE=cell:+49  (0)160  28 29 757 
TEL;TYPE=work;TYPE=fax:+49  (0)89  27 37 04 39 
BDAY:1975-07-22 
END:VCARD 
Comment 2 Christian Wolfgang Hujer 2002-10-27 23:07:15 UTC
example vcard 
BEGIN:VCARD 
VERSION:2.0 
FN:Herr Christian Wolfgang Hujer 
EMAIL:Christian.Hujer@itcqis.com 
URL:http://www.itcqis.com/ 
N:Hujer;Christian;Wolfgang;Herr; 
ORG:ITCQIS GmbH 
ADR;TYPE=work:;;Johanneskirchnerstr. 132;Muenchen;;D-81927;Deutschland 
TEL;TYPE=work:+49  (0)89  27 37 04 37 
TEL;TYPE=work;TYPE=fax:+49  (0)89  27 37 04 39 
END:VCARD 
Comment 3 Christian Wolfgang Hujer 2002-10-27 23:08:43 UTC
I first tried VERSION:3.0 
That did not work, that's why there's VERSION:2.0 instead. 
If you use the example vcard files, do %s/^VERSION:.*$/VERSION:3.0/ first. 
Comment 4 Ingo Klöcker 2002-10-28 01:24:23 UTC
Subject: Re:  vcard does not get displayed, kmail shows error instead

KMail complains because the EMAIL field doesn't have a qualifier (i.e. 
"pref", "internet" or "x400") and it doesn't seem to like qualifiers of 
the form "TYPE=work" (as in TEL). Instead it looks for "work". You read 
the RFC's so you have to tell me whether KMail is wrong.

Regards,
Ingo


Comment 5 Christian Wolfgang Hujer 2002-10-28 07:20:52 UTC
Created attachment 288 [details]
self generated VCard-file

A vCard-File I generated myself using a perl script.
This vCard-File did not work and made me investigate further.
Warning: I do not know wether this vCard file is corrupt (though I think it's
fine).
Comment 6 Christian Wolfgang Hujer 2002-10-28 07:22:09 UTC
Created attachment 289 [details]
Another vCard-file, this time from kabc

vCard-file snipped from kabc.
This vCard-file's correctness depends on wether kabc generates correct vCards
or not.
Comment 7 Christian Wolfgang Hujer 2002-10-28 07:23:34 UTC
Created attachment 290 [details]
Yet another vCard-file. This time with email type. Still did not work with kmail.

This is a modified version of the first attachment (288) .vcf.
It contains an email type header, but still does not work with kmail.
Comment 8 Christian Wolfgang Hujer 2002-10-28 07:24:55 UTC
Created attachment 291 [details]
vCard example from RFC 2425

This is another example of a vCard.
This vCard really should work, since it is an example from RFC 2425.
Currently kmail complains about it.
Comment 9 Ingo Klöcker 2002-12-06 23:22:54 UTC
Subject: Re:  New: vcard does not get displayed, kmail shows error instead

KMail now displays all examples (except the one from RFC 2425 which is 
missing the mandatory VERSION field) you attached to this bug report. 
Furthermore it correctly displays the two vCards of the authors of RFC 
2426 (vCard MIME Directory Profile).