vCard emails are not imported correctly

UNCONFIRMED
Unassigned

Status

UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: victor.engmark, Unassigned)

Tracking

38 Branch

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160211213400

Steps to reproduce:

Import a vCard with the following lines:

EMAIL;TYPE=HOME,PREF,INTERNET:a@a.com
EMAIL;TYPE=HOME,INTERNET:b@b.com
EMAIL;TYPE=WORK,INTERNET:c@c.com



Actual results:

The last email address, "c@c.com", is set as the new contact's *only* email address.


Expected results:

1. As a minimum, *either* the first address in the list *or* the address with type "PREF" (that is, "preferred") should be set as the "Address" of the new contact.
2. One of the addresses (preferably the first non-preferred) should be set as "Additional Email" of the new contact.
3. Ideally there should be "Email" and "Additional Email" fields in both the "Private" and "Work" tabs, and they should be filled according to the types in the vCard.

Updated

3 years ago
Component: Untriaged → Address Book
You need to log in before you can comment on or make changes to this bug.