SD card contact import (VCF) gets names reversed

RESOLVED WORKSFORME

Status

Firefox OS
Gaia::Contacts
RESOLVED WORKSFORME
4 years ago
3 years ago

People

(Reporter: Stuart Bennett, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

4 years ago
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 (Beta/Release)
Build ID: 2013102400

Steps to reproduce:

Import contacts from memory card, then view details of an imported contact (tap an imported name in the list)


Actual results:

Name of contact is presented "LastName FirstName" in heading (note, this does not happen on list of contacts).


Expected results:

Presumably the contact heading should be "FirstName LastName", as happens if I add a new contact manually.

Comparing the cases in the contacts indexedDB it appears the "name" property is being incorrectly composed for the import case.
(Reporter)

Comment 1

4 years ago
Created attachment 8343737 [details]
example.vcf: example VCF which suffers the problem

This file shows the problem on B2G 1.2, but I've also seen it with other similar VCFs on 1.1
Tested on today's master. Works fine today.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.