[Fixed in 1.0.4.20] [bug] Import vcard with family details fails [released]
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
Just cross-referencing: https://together.jolla.com/question/13842/why-does-the-vcard-vcf-import-fail/
CsTom ( 2014-01-13 22:48:53 +0200 )editThanks, I have filed a bug for correcting this problem.
MattVogt ( 2014-01-22 01:55:52 +0200 )editwill 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 )editI 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