{ "id": "154930", "key": "TIMOB-20407", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-04-05T06:24:14.000+0000", "created": "2016-02-15T15:02:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "qe-.5.4.0" ], "versions": [], "issuelinks": [ { "id": "51223", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "155817", "key": "TIMOB-20589", "fields": { "summary": "iOS: Allow editing contacts in iOS9 and above", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2016-06-09T22:31:29.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Hi, I'm trying to use Ti.Contacts.save() in iOS>=9, but it seems unresponsive or isn't saving at all.\r\n\r\nI get this kind of error when trying to use methods like Ti.Contacts.Person (object).setPhone()\r\n\r\n{{{\"message\":\"-\\[CNContact setPhoneNumbers:\\]: unrecognized selector sent to instance 0x7fb6b34d5980\")}}\r\n\r\nWe're using the default or unmodified TiContactsPerson.m \r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow({\r\n\tbackgroundColor: '#ffffff'\r\n});\r\n\r\n\r\nvar button = Ti.UI.createButton({\r\n\twidth: 200,\r\n\theight: 50,\r\n\ttitle: \"Save to address book\"\r\n});\r\n\r\nwin.add(button);\r\n\r\n\r\nfunction performAddressBookFunction() {\r\n\t// sample stopped working on 5.1.2.GA\r\n\t// var people = Ti.Contacts.getAllPeople();\r\n\t// var contactsToSave = [];\r\n// \t\r\n\t// for (var i=0; i=9", "creator": { "name": "rlcoronado", "key": "rlcoronado", "displayName": "Rhys Leo Coronado", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rlcoronado", "key": "rlcoronado", "displayName": "Rhys Leo Coronado", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OSX El Capitan, iOS Emualator 9.2, 9.1\r\n\r\nTi SDK 5.1.2.GA", "comment": { "comments": [ { "id": "376923", "author": { "name": "rlcoronado", "key": "rlcoronado", "displayName": "Rhys Leo Coronado", "active": true, "timeZone": "America/Los_Angeles" }, "body": "To add:\r\n\r\n{\"message\":\"-[CNContact setPhoneNumbers:]: unrecognized selector sent to instance 0x7fb6b34d5980\")\r\n\r\n^It happens with setEmail(), setUrl(), setAddress(), setInstantMessage with their respective error setEmail, setUrl, setAddress, setInstantMessage unrecognized selector sent to instance.", "updateAuthor": { "name": "rlcoronado", "key": "rlcoronado", "displayName": "Rhys Leo Coronado", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-02-15T15:07:40.000+0000", "updated": "2016-02-15T15:07:40.000+0000" }, { "id": "376944", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This may already be fixed in 5.2.0. [~ssombhatla] check it out?", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-16T07:09:59.000+0000", "updated": "2016-02-16T07:09:59.000+0000" }, { "id": "377615", "author": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "body": "[~rlcoronado] We currently don't support custom labels like {{Toll Free}},{{Personal Email}}. For example the supported labels for phone are https://docs.appcelerator.com/platform/latest/#!/api/Titanium.Contacts.Person-property-phone\r\n\r\n ", "updateAuthor": { "name": "ssombhatla", "key": "ssombhatla", "displayName": "Srikanth Sombhatla", "active": false, "timeZone": "Asia/Singapore" }, "created": "2016-02-23T07:58:54.000+0000", "updated": "2016-02-23T07:58:54.000+0000" }, { "id": "378035", "author": { "name": "stinum", "key": "stinum", "displayName": "Dustin Hume", "active": true, "timeZone": "America/Chicago" }, "body": "This is still an issue in 5.2.0 and it is not related to the customer labels mentioned.\r\n\r\n{code:java}\r\nvar currentAddress = f.person.address;\r\nif(currentAddress.work){\r\n var addressAlreadyExists = false;\r\n for(var i=0;i