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 (JIRA)" <ji...@apache.org> on 2012/10/09 10:22:02 UTC

[jira] [Created] (CB-1601) Android contact update breaks addressbook

Olivier Louvignes created CB-1601:
-------------------------------------

             Summary: 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: Joe Bowser


When updating a contact on the device itself (no Google account). 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

[jira] [Commented] (CB-1601) Android contact update breaks addressbook

Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472783#comment-13472783 ] 

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

I've updated the Galaxy SII to the latest official release (4.0.4), it still has a custom Contact app (same icon but v4.0.4). This time, an update does not crashes it.
So I guess the question is how many GSII @2.0.3 are out there without a Google Account?
I guess not enough to worry...
                
> 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

[jira] [Resolved] (CB-1601) Android contact update breaks addressbook

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Braden Shepherdson resolved CB-1601.
------------------------------------

    Resolution: Not A Problem

Marking this as Not A Problem, then. Especially if that 2.0.3 wasn't a typo; we don't support < 2.2 anyway. Even if the 2.3.6 in the metadata is correct, I agree this isn't a major problem because of the narrow range of devices.
                
> 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

[jira] [Updated] (CB-1601) Android contact update breaks addressbook

Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Louvignes updated CB-1601:
----------------------------------

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

  was:
When updating a contact on the device itself (no Google account). 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.

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

[jira] [Assigned] (CB-1601) Android contact update breaks addressbook

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve reassigned CB-1601:
---------------------------------

    Assignee: Braden Shepherdson  (was: Joe Bowser)
    
> 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

[jira] [Commented] (CB-1601) Android contact update breaks addressbook

Posted by "Braden Shepherdson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472662#comment-13472662 ] 

Braden Shepherdson commented on CB-1601:
----------------------------------------

Okay, I tried to reproduce this. I used the Android simulator running 2.3.3. It had no contacts, I created one using the native app that had a name and phone number. I checked that I could retrieve the contact (I can) and then edited the phone number from my Cordova code. It returned the success callback. I then checked the native contacts app, and it showed the list fine. I opened the contact, and it showed the updated phone number, no crash.

Samsung likes to put their own mediocre software on the Galaxy S line of phones, is this not the same native contact book? Perhaps you edited a field and inserted malformed data? Perhaps it's a problem with a different field?

We need more details to solve this:
- Which native contacts app?
- What fields are you updating?
- Can we see the updates you're making? Check the documentation to make sure they're structured properly.

Otherwise I'll close this as Can't Reproduce.
                
> 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

[jira] [Commented] (CB-1601) Android contact update breaks addressbook

Posted by "Olivier Louvignes (JIRA)" <ji...@apache.org>.
    [ 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