[Contacts] After merging two contacts with different givenNames / familyNames there are some screens where names are displayed as lists

RESOLVED FIXED

Status

Firefox OS
Gaia::Contacts
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: salva, Assigned: salva)

Tracking

unspecified
x86_64
Linux

Firefox Tracking Flags

(blocking-b2g:koi+, b2g-v1.2 affected)

Details

(Whiteboard: [u=commsapps-user c=contacts p=1])

Attachments

(3 attachments)

Created attachment 800213 [details]
Name and family name as lists after finding duplicates

I merged two contacts:

Salva
Puente
1234

Salvador
de la Puente
1234

Now some screens show the name as:

Salvador, Salva de la Puente, Puente

This is reproduced finding duplicates and while editing a contact.
Created attachment 800215 [details]
Name and family name as lists while editing a contact
Attachment #800215 - Attachment description: Name and family name as lists in editing a contact → Name and family name as lists while editing a contact
Created attachment 800226 [details]
Make templates.js gets the first value in case of the template field is an array.

Fixing edition to consider givenName and familyName as arrays.
Attachment #800226 - Flags: review?(jmcf)

Comment 3

5 years ago
Comment on attachment 800226 [details]
Make templates.js gets the first value in case of the template field is an array.

r+ provided comments on Github are addressed

thanks, Salva!
Attachment #800226 - Flags: review?(jmcf) → review+
Master: 24462b57fdebecbefb4b905ba585cb33f2adf4f8
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
blocking-b2g: koi? → koi+
status-b2g-v1.2: --- → affected
You need to log in before you can comment on or make changes to this bug.