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] [Created] (CB-997) deviceContact.save() crash when organisations is set to [].
Date Mon, 02 Jul 2012 23:14:58 GMT
Olivier Louvignes created CB-997:
------------------------------------

             Summary: deviceContact.save() crash when organisations is set to [].
                 Key: CB-997
                 URL: https://issues.apache.org/jira/browse/CB-997
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaJS
    Affects Versions: 1.9.0
            Reporter: Olivier Louvignes
            Assignee: Filip Maj


I've had recent crashes with contact sync/creation.
Looks like saving a contact with an empty array [] for the organisations param will crash
every time :

<NSRangeException> *** -[CDVJKArray objectAtIndex:]: index (0) beyond bounds (0)

Setting it to null solves the issue but it should work as an empty array.

--
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

        

Mime
View raw message