cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (CB-11350) Find with 'desiredFields' returns a field as null
Date Thu, 08 Dec 2016 00:57:00 GMT


ASF subversion and git services commented on CB-11350:

Commit e0600ee7fbe8d42b3dda2038de46738d1e323fc9 in cordova-plugin-contacts's branch refs/heads/2.2.x
from [~Nikita Matrosov]
[;h=e0600ee ]

CB-11350 android: retrieve displayName for contact when specified in desiredFields

displayName wasn't being retrieved because of wrong condition in populateContactArray

 This closes #135

> Find with 'desiredFields' returns a field as null
> -------------------------------------------------
>                 Key: CB-11350
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>         Environment: LG G4, Android 6
>            Reporter: Maria Ines Parnisari
>            Assignee: Nikita Matrosov
>            Priority: Minor
>              Labels: triaged
> Full repro here:
> When you run navigator.contacts.find() with the option 'desiredFields' set including
'displayName', this particular field returns as null for all contacts. However, if you do
not set this option, the field is populated properly for each contact.
> Also, it is unclear to me why when you use 'desiredFields' a full-blown object is returned
for each contact with almost every field set as null. Wouldn't it make more sense to just
return objects with those fields?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message