cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-1143) Indicate through the ContactError code if remove() failed because the contact is nonexistent / has already been deleted
Date Sun, 02 Dec 2018 12:21:00 GMT

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

jcesarmobile closed CB-1143.
----------------------------
    Resolution: Won't Fix

The plugin is deprecated, this won't be fixed

> Indicate through the ContactError code if remove() failed because the contact is nonexistent
/ has already been deleted
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-1143
>                 URL: https://issues.apache.org/jira/browse/CB-1143
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: cordova-plugin-contacts (DEPRECATED)
>    Affects Versions: 2.0.0
>            Reporter: Daniel Trebbien
>            Priority: Minor
>              Labels: audit, contacts
>
> At least with the iOS implementation, if a contact has already been deleted, calling
Contact.remove() on it results in an error as expected; however, the error code is 0 (UNKNOWN_ERROR),
which gives the app no clue as to what happened.
> It would be nice if the error code could indicate that removal failed because the contact
has already been deleted.
> Suggested fix:  Add an error code, NONEXISTENT, that would be used to indicate that the
device has no contact with the supplied ID.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message