[
https://issues.apache.org/jira/browse/CB-10131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Sorokin updated CB-10131:
-----------------------------------
Description:
{noformat}
navigator.contacts.create().save();
{noformat}
results in a contact that has a displayName "null" (string)
https://yadi.sk/i/Uwngv5VUkwXdL
Expected: a contact that has a displayName null (object)
was:
{noformat}
navigator.contacts.create({"name":{"givenName":"Vasily"}}).save();
{noformat}
results in a contact that has a displayName "null" (string)
https://yadi.sk/i/Uwngv5VUkwXdL
Expected: a contact that has a displayName null (object)
> When creating empty contact on Android, name fields are not null but "null"
> ---------------------------------------------------------------------------
>
> Key: CB-10131
> URL: https://issues.apache.org/jira/browse/CB-10131
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Contacts
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
>
> {noformat}
> navigator.contacts.create().save();
> {noformat}
> results in a contact that has a displayName "null" (string)
> https://yadi.sk/i/Uwngv5VUkwXdL
> Expected: a contact that has a displayName null (object)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]