You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Olivier Louvignes (Created) (JIRA)" <ji...@apache.org> on 2012/01/09 12:34:39 UTC
[jira] [Created] (CB-163) contactFindOptions.filter does not work
as expected on Android
contactFindOptions.filter does not work as expected on Android
--------------------------------------------------------------
Key: CB-163
URL: https://issues.apache.org/jira/browse/CB-163
Project: Apache Callback
Issue Type: Bug
Components: Android
Affects Versions: 1.3.0
Environment: android 2.3.3
Reporter: Olivier Louvignes
var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Commented] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Simon MacDonald (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182687#comment-13182687 ]
Simon MacDonald commented on CB-163:
------------------------------------
Can you show me the full code you use to do the find? I want to see what contact fields you specify.
Thanks...
Simon
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Labels: contacts
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Issue Comment Edited] (CB-163) contactFindOptions.filter
does not work as expected on Android
Posted by "Olivier Louvignes (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182759#comment-13182759 ]
Olivier Louvignes edited comment on CB-163 at 1/9/12 8:20 PM:
--------------------------------------------------------------
It's a Sencha Touch 2 proxy.
Here is the contact fields i specify :
deviceFields: ['id', 'name', 'emails', 'phoneNumbers', 'addresses', 'birthday', 'organizations', 'urls'],
And my read method of my proxy :
https://gist.github.com/1584728
was (Author: mgcrea):
It's a Sencha Touch 2 proxy so there's quite a lot of code.
Here is the contact fields i specify :
deviceFields: ['id', 'name', 'emails', 'phoneNumbers', 'addresses', 'birthday', 'organizations', 'urls'],
And my read method of my proxy :
https://gist.github.com/1584728
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Labels: contacts
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Updated] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-163:
--------------------------
Priority: Minor (was: Major)
Fix Version/s: 1.6.0
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Priority: Minor
> Labels: contacts
> Fix For: 1.6.0
>
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Commented] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Olivier Louvignes (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182781#comment-13182781 ]
Olivier Louvignes commented on CB-163:
--------------------------------------
Yes it does work (could have thought of it, but never used that field before). Thanks !
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Labels: contacts
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Updated] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Joe Bowser (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-163:
--------------------------
Fix Version/s: (was: 1.6.0)
1.7.0
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Priority: Minor
> Labels: contacts
> Fix For: 1.7.0
>
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Commented] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Olivier Louvignes (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182759#comment-13182759 ]
Olivier Louvignes commented on CB-163:
--------------------------------------
It's a Sencha Touch 2 proxy so there's quite a lot of code.
Here is the contact fields i specify :
deviceFields: ['id', 'name', 'emails', 'phoneNumbers', 'addresses', 'birthday', 'organizations', 'urls'],
And my read method of my proxy :
https://gist.github.com/1584728
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Labels: contacts
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Resolved] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Simon MacDonald (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald resolved CB-163.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.7.0)
1.6.0
The formatted name is stored in two places in the Android DB. Changed the contact code so when you search on "name" it looks in both locations.
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Priority: Minor
> Labels: contacts
> Fix For: 1.6.0
>
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Commented] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Simon MacDonald (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182769#comment-13182769 ]
Simon MacDonald commented on CB-163:
------------------------------------
I bet if you put "displayName" into you deviceFields it will work.
deviceFields: ['id', 'displayName', 'name', 'emails', 'phoneNumbers', 'addresses', 'birthday', 'organizations', 'urls']
could be a work around for you for now.
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Labels: contacts
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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
[jira] [Assigned] (CB-163) contactFindOptions.filter does not work
as expected on Android
Posted by "Simon MacDonald (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald reassigned CB-163:
----------------------------------
Assignee: Simon MacDonald
> contactFindOptions.filter does not work as expected on Android
> --------------------------------------------------------------
>
> Key: CB-163
> URL: https://issues.apache.org/jira/browse/CB-163
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: 1.3.0
> Environment: android 2.3.3
> Reporter: Olivier Louvignes
> Assignee: Simon MacDonald
> Labels: contacts
>
> var filter = givenName + ' ' + familyName; works as expected on iOS (retreive matched contact), fails on android (0 contact retreived).
--
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