You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nikita Matrosov (JIRA)" <ji...@apache.org> on 2016/09/26 09:27:20 UTC

[jira] [Assigned] (CB-11350) Find with 'desiredFields' returns a field as null

     [ https://issues.apache.org/jira/browse/CB-11350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Matrosov reassigned CB-11350:
------------------------------------

    Assignee: Nikita Matrosov

> Find with 'desiredFields' returns a field as null
> -------------------------------------------------
>
>                 Key: CB-11350
>                 URL: https://issues.apache.org/jira/browse/CB-11350
>             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: https://github.com/miparnisari/ionic-demo
> 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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org