[Fixed in 1.0.4.20] [bug] Import vcard with family details fails [released]

asked 2013-12-29 20:49:31 +0200

Fuzzillogic gravatar image

updated 2014-03-20 10:31:40 +0200

MattVogt gravatar image

A vcard containing a X-CHILDREN field (and probably other Family details) fails. If this vcard is part of a larger import batch, the entire import fails. Worse, this seriously messes up synchronization of contacts using Buteo/SyncML. After sync encountered the troublesome vcard, the rest will fail, causing deletion of those failed contacts on the server by a following sync.

Contents of fail.vcf:

BEGIN:VCARD
VERSION:3.0
REV:20131218T172405Z
N:Bar;Foo;;;
X-CHILDREN:Foba
END:VCARD

Contents of success.vcf:

BEGIN:VCARD
VERSION:3.0
REV:20131218T172405Z
N:Bar;Foo;;;
END:VCARD

Output on Jolla of fail:

[nemo@localhost ~]$ invoker --type=generic vcardconverter ./fail.vcf 
invoker: Invoking execution: '/usr/bin/vcardconverter'
The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
Importing 1 new contacts
[W] enforceDetailConstraints:2068 - "Invalid detail type: Family" 
[W] ContactWriter::save:1937 - "Error creating contact: 3 syncTarget: local" 
[D] main:139 -   Unable to import contact "Foo Bar" error: 3 
Wrote 0 contacts

Success:

[nemo@localhost ~]$ invoker --type=generic vcardconverter ./success.vcf 
invoker: Invoking execution: '/usr/bin/vcardconverter'
The 'mergePresenceChanges' option has not been configured - presence changes will only be reported via ContactManagerEngine::contactsPresenceChanged()
Importing 1 new contacts
Wrote 1 contacts
edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by avdwoude
close date 2014-03-20 10:35:25.017710

Comments

Thanks, I have filed a bug for correcting this problem.

MattVogt ( 2014-01-22 01:55:52 +0200 )edit

will this be included in January Sailfish update? I don't see the roadmap tag here.

thank you

c.la ( 2014-01-22 10:56:06 +0200 )edit

I just try to get my addressbook from my Symbian-Nokia to the Jolla Phone: some issues to be added here - what is not imported is the "NOTE"-field, which is part of the vCard standard part - highly desirable! - The standard vCard X-Extensions should be imported as well: missing and often used: X-SPOUSE

thomas ( 2014-01-28 10:42:39 +0200 )edit

@thomas: actually, the NOTE is imported, it's "just" not visible via the UI :-(

CsTom ( 2014-01-28 10:45:04 +0200 )edit