Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F5F2C134 for ; Thu, 5 Jul 2012 16:03:35 +0000 (UTC) Received: (qmail 53262 invoked by uid 500); 5 Jul 2012 16:03:35 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 53226 invoked by uid 500); 5 Jul 2012 16:03:35 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 53204 invoked by uid 99); 5 Jul 2012 16:03:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 16:03:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id F13E6142822 for ; Thu, 5 Jul 2012 16:03:34 +0000 (UTC) Date: Thu, 5 Jul 2012 16:03:34 +0000 (UTC) From: "Becky Gibson (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1361515575.9306.1341504214990.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1919070548.320.1341270898158.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (CB-997) deviceContact.save() crash when organisations is set to []. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Becky Gibson resolved CB-997. ----------------------------- Resolution: Fixed Fix Version/s: Master 2.0.0 Assignee: Becky Gibson (was: Filip Maj) Fixed with this commit: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-ios.git;a=commit;h=7b9b434de9278a251398c77993a40baa175f75f1 > 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: iOS > Affects Versions: 1.9.0 > Reporter: Olivier Louvignes > Assignee: Becky Gibson > Labels: contacts > Fix For: 2.0.0, Master > > > 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 : > *** -[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