Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18191

iOS: Contacts - Ti.Contacts.getAllGroups crashes the app after creating a contact group

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: Release 3.4.1, Release 3.5.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
    • Environment:

      Appcelerator Studio, build: 3.4.1.201410281743
      SDK build: 3.4.1.GA, 3.5.0.v20141211124115
      CLI: 3.4.1
      Alloy: 1.5.1
      Xcode: 6.2 beta
      Devices: iphone 6 plus (8.1.1)

      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

        1. app.js
          2 kB
        2. crash.txt
          43 kB
        3. initial.png
          initial.png
          76 kB

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                wluu Wilson Luu (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-19467
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration