incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Louvignes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1601) Android contact update breaks addressbook
Date Tue, 09 Oct 2012 20:12:03 GMT

    [ https://issues.apache.org/jira/browse/CB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472703#comment-13472703
] 

Olivier Louvignes commented on CB-1601:
---------------------------------------

I have not encountered the issue on the 2.3.3 simulator. It is indeed the base contact app
from a Galaxy SII (called Contacts, orange-icon, v1.0).

Here is an example :

I do create using :

contactData : {"name":{"givenName":"Adrien","familyName":"Alexo"},"displayName":"Adrien Alexo","phoneNumbers":[{"type":"mobile","value":"+33
6 11 22 33 44"}],"emails":[{"type":"home","value":"alexo@hotmail.fr"},{"type":"work","value":"adrien-alexo@webschoolfactory.com"}],"urls":[],"addresses":[{"type":"home","streetAddress":"121
rue saint Martin","postalCode":"75019","locality":"Paris","country":"France"}],"organizations":[{"name":"","title":""}],"birthday":"1991-04-20T12:00:00.000Z"}

var deviceContact = navigator.contacts.create(contactData);
deviceContact.displayName = deviceContact.name.givenName + ' ' + deviceContact.name.familyName;
deviceContact.save(...)

Update is done with the exact same object (json contactData) :

deviceContact = _.extend(deviceContact, contactData);
deviceContact.save()


I'm trying to update the SII to see if this can be reproduced.

                
> Android contact update breaks addressbook 
> ------------------------------------------
>
>                 Key: CB-1601
>                 URL: https://issues.apache.org/jira/browse/CB-1601
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.1.0
>         Environment: Baseband : IG9100GXXKL4 (Galaxy S2)
> Kernel : 2.6.35.7
> Android: 2.3.6
>            Reporter: Olivier Louvignes
>            Assignee: Braden Shepherdson
>              Labels: contacts
>
> When updating a contact on the device itself (no Google account), it does seems to work,
but when checking inside the native contact app, the addressbook crashes when you select a
contact (android.process.acore crashes).
> This does only happen when using update.
> After the first create, contacts are working and can be browsed. However if I update
any of them with the same information I'll get the acore crash.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message