Bug 365193

Summary: vCard4 export must use RELATED field instead of custom X- field
Product: [Applications] kaddressbook Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.3

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