[
https://issues.apache.org/jira/browse/CB-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406661#comment-13406661
]
Simon MacDonald commented on CB-1005:
-------------------------------------
The problem is you cannot just set phoneNumbers = null because if you request a
contact via the find command and dont' request "phoneNumbers" as one of the
attributes to return it will be set to null. So there is no way to tell if the
user has set phoneNumbers to null on purpose or not.
Each phoneNumber has an id which is compared against the Android contacts DB.
If the id exists then we consider it a modification. If no id is set for the
phoneNumber it is considered and addition. So the best way to remove a
phoneNumber right now is to set it's properties to "".
> Can not remove contact phonenumber values
> -----------------------------------------
>
> Key: CB-1005
> URL: https://issues.apache.org/jira/browse/CB-1005
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.9.0
> Environment: Eclipse
> Reporter: Ciro La Ferrara
> Assignee: Joe Bowser
>
> We can not remove contact phonenumber values. See in action on
> http://nopaste.info/285b2a4203.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira