New BUG - Export contact in 3.6.14 create corrupted export


Nico77

Members
Apr 24, 2013
61
30
Hi all,
this is my 1st bug report but it is a major one, everyone can repproduce it from 3.6.14 and it affect a very basic feature:
export contact to vcard (including contact sync with car bluetooth system, send contact by mail,sms,etc...)

Title : export contact in 3.6.14 create corrupted exported contact

affected version : miuiandroid 3.6.14
reproducable : always
platform: Mi2(s)

priority :high
compoment:ContactsProvider.apk
this issue is caused by changes in package com\android\vcard\ from 3.6.7 to 3.6.14
after downgrading to 3.6.7 the issue desappears

description :
when trying to export a contact without middle name the produced vcard is corrupted :
exemple :
contact name : TestFamilyName
contact given name :TestName
contact cellphone number :001-234-5678901
will create the following vcf file :
BEGIN:VCARD
VERSION:2.1
N:TestFamilyName;nullTestName;;;
FN:TestName TestFamilyName
TEL;CELL:001-234-5678901
END:VCARD​

and the same contact with middle name :TestMiddleName will generate the following : (there is no semicolon and no space on 1st line between ;TestMiddleName and TestName
BEGIN:VCARD
VERSION:2.1
N:TestFamilyName;TestMiddleNameTestName;;;
FN:TestName TestMiddleName TestFamilyName
TEL;CELL:001-234-5678901
END:VCARD​
 
It seems to be corrected on this weekly build (3.7.5), I upgraded this evening and I cannot reproduce it... :)))
It only wasn't in the change log.

The bug can be closed. :)