Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18191] iOS: Contacts - Ti.Contacts.getAllGroups crashes the app after creating a contact group

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionCannot Reproduce
Resolution Date2017-06-13T21:25:09.000+0000
Affected Version/sRelease 3.4.1, Release 3.5.0
Fix Version/sn/a
ComponentsiOS
Labelsqe-3.5.0
ReporterWilson Luu
AssigneeEric Merriman
Created2014-12-12T01:19:11.000+0000
Updated2017-06-13T21:25:09.000+0000

Description

*Details:* Ti.Contacts.getAllGroups crashes the app after creating a contact group. *Note:* This is *not* a regression as this occurs in 3.4.1.GA. *Steps to reproduce:* 1. Create a Titanium classic project with the app.js attachment 2. Install app to device 3. If there are any contact groups, try to make the app display only 1 contact group (see initial.png) by pressing on a contact group to remove it; the app will crash if you select subsequent contact groups, but the cleanest way to reproduce this issue 4. Next, press on the top contact group to remove 5. Press "creating group!" 6. Select the newly contact group *Actual:* The app will crash at Ti.Contacts.getAllGroups; see crash.txt for crash logs. *Expected:* The app should not crash.

Attachments

FileDateSize
app.js2014-12-12T01:19:11.000+00001880
crash.txt2014-12-12T01:19:11.000+000043749
initial.png2014-12-12T01:19:11.000+000077718

Comments

  1. Lee Morris 2017-06-13

    I am unable to reproduce this issue with the following environment; iPhone 7 (10.2) Studio 4.9.0.201705302345 Ti SDK 6.1.1.v20170609091155 Appc NPM 4.2.9 Appc CLI 6.2.1 Ti CLI 5.0.13 Alloy 1.9.11 Arrow 2.0.0 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source