[
https://issues.apache.org/jira/browse/CB-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14047583#comment-14047583
]
ASF GitHub Bot commented on CB-7003:
------------------------------------
GitHub user sgrebnov opened a pull request:
https://github.com/apache/cordova-plugin-contacts/pull/32
fixes CB-7003 navigator.contacts.pickContact picks wrong contact on Android
4.3 and 4.4.3 versions
https://issues.apache.org/jira/browse/CB-7003
pickContact: added logic to convert CONTACT_ID to RAW_CONTACT_ID required
by contactAccessor.getContactById
Tested on Android 4.3 and 2.3.6
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-7003
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-contacts/pull/32.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #32
----
commit 6e08ee7239723c251d75e91f25af7b1bfae9c8c8
Author: sgrebnov <[email protected]>
Date: 2014-06-30T11:46:26Z
fixes CB-7003 navigator.contacts.pickContact picks wrong contact on Android
4.3 and 4.4.3 versions
----
> navigator.contacts.pickContact picks wrong contact on Android 4.3 and 4.4.3
> versions
> ------------------------------------------------------------------------------------
>
> Key: CB-7003
> URL: https://issues.apache.org/jira/browse/CB-7003
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Contacts
> Affects Versions: 3.5.0
> Reporter: Meshkov Alex
> Assignee: Sergey Grebnov
>
> This issue touches pickContact method on Android devices. Simple call
> {code}
> navigator.contacts.pickContact(function (contact) {
> if (contact.id == -1) {
> return false;
> }
> alert(contact.name.formatted);
> });
> {code}
> return wrong _contact.name.formatted_ value. For instance if I select _Mom_
> contact I would get Maria's contact object.
> This bug affects Android versions 4.3 (Samsung Galaxy S3) and 4.4.3 (Nexus 4)
> I haven't tested on other devices.
--
This message was sent by Atlassian JIRA
(v6.2#6252)