Bug 365193 - vCard4 export must use RELATED field instead of custom X- field
Summary: vCard4 export must use RELATED field instead of custom X- field
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-07 11:53 UTC by Erik Quaeghebeur
Modified: 2016-07-08 05:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2016-07-07 11:53:23 UTC
When exporting a contact to vCard4 with a spouse field, the file contains the line

X-KADDRESSBOOK-X-SpousesName:testy toster

In vCard4, there is the RELATED field for such information (see https://tools.ietf.org/html/rfc6350#section-6.6.6):

RELATED;TYPE=spouse;VALUE=text:testy toster

(The vcard4-implementation gives you the opportunity to do away with custom fields entirely; given that addressbooks are commonly synced, such fields do more harm than good.)

Reproducible: Always
Comment 1 Laurent Montel 2016-07-08 05:24:51 UTC
Git commit 309ea399cb5b83c2252d792e8d39140b6c84b9a8 by Montel Laurent.
Committed on 08/07/2016 at 05:14.
Pushed by mlaurent into branch 'master'.

Fix Bug 365193 - vCard4 export must use RELATED field instead of custom X- field

FIXED-IN: 5.3

M  +2    -0    autotests/customidentifiertest.cpp
M  +1    -1    src/vcardtool.cpp

http://commits.kde.org/kcontacts/309ea399cb5b83c2252d792e8d39140b6c84b9a8