[TIMOB-20010] iOS9: Remove Contacts causes app to crash
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-11-18T20:15:33.000+0000 |
Affected Version/s | Release 5.1.0 |
Fix Version/s | Release 5.1.0 |
Components | n/a |
Labels | iOS9, qe-5.1.0 |
Reporter | Harry Bryant |
Assignee | Chee Kiat Ng |
Created | 2015-11-17T19:57:24.000+0000 |
Updated | 2015-11-20T18:25:27.000+0000 |
Description
Description:
This issue was located using KitchenSink, whilst testing Phone > Contacts > Remove Contact. Attempting to remove a contact using an app will cause it to crash, and after checking the native address book, the contact remains as existing. This problem affects iOS9 only, it does not occur when using the same code on an iOS8 device.
Steps to reproduce:
1.Import KitchenSink to iOS9 or Sim.
2. Navigate to Phone > Contacts > Remove Contact.
3. Select a contact to remove.
4. App will crash.
5. Navigate to native contacts book, and look for the entry selected in step 3.
6. the entry will still be present.
Result:
App will crash and fail to remove contact from address book.
Expected Result:
App should not crash, and should succeed in removing contact from address book.
Comments
JSON Source
PR (master): https://github.com/appcelerator/titanium_mobile/pull/7462 PR (5_1_X): https://github.com/appcelerator/titanium_mobile/pull/7463
Master PR: https://github.com/appcelerator/titanium_mobile/pull/7464 5_1_X PR: https://github.com/appcelerator/titanium_mobile/pull/7465
Sample Code:
Steps to test
1. grant authorisation 2. create new person pong 3. create new group circleOfTrust 4. add pong to circleOfTrust 5. remove pong from circleOfTrust 6. remove circleOfTrust 7. remove pong