incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <>
Subject [jira] [Commented] (CB-1005) Can not remove contact phonenumber values
Date Wed, 04 Jul 2012 18:57:33 GMT


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:
>             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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message