{ "id": "142675", "key": "TIMOB-18365", "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": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-01-12T23:31:39.000+0000", "created": "2015-01-12T19:46:56.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "contacts", "ios", "kitchensink", "qe-3.5.0", "regression" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [], "assignee": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-02-02T20:47:46.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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When adding contacts with auto-correct on, the name gets autocorrected. However, when adding the contact, the original, not auto-corrected name is used.\r\nThis is a regression as names are added by the auto-corrected name in 3.4.1.GA\r\n\r\n*Steps to reproduce issue*:\r\n1. Run the KitchenSink app\r\n2. Go to Phone -> Contacts -> Add Contact\r\n3. Enter a name that will be auto-corrected and add the contact\r\n4. Go to the device's contacts\r\n5. Notice that the original name was used when adding the contact, not the auto-corrected name.\r\n\r\n*Expected Results*:\r\nThe auto-corrected name is used for the contact\r\n\r\n*Notes*:\r\nThis is a regression.", "attachment": [], "flagged": false, "summary": "iOS, KitchenSink: Autocorrect when adding contact results in wrong contact name", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK 3.5.0.v20150112015717\r\nStudio 3.4.1.201410281743 \r\nXcode 6.1.1\r\nKitchenSink 3.4.2, master as of 1/12/15\r\n\r\nOn: \r\niPhone 5c, iOS 7.1\r\niPad mini, iOS 8.1", "closedSprints": [ { "id": 291, "state": "closed", "name": "2015 Sprint 01 SDK", "startDate": "2015-01-03T01:00:00.000Z", "endDate": "2015-01-17T01:00:00.000Z", "completeDate": "2015-01-19T17:24:40.828Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "338758", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PRs\r\nmaster: https://github.com/appcelerator/titanium_mobile/pull/6562\r\n3_5_X: https://github.com/appcelerator/titanium_mobile/pull/6563\r\n\r\nh5. Steps to repro:\r\n1. Run the code below\r\n2. Type some letters that will force an autocorrect\r\n3. Hit return\r\n4. The title of the button should now change to the autocorrected text rather than what the text was when return was pressed\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\nwin.open();\r\n\r\nvar tf = Ti.UI.createTextField({\r\n text:'',\r\n borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n top:50,\r\n right:10,\r\n left:10\r\n});\r\nwin.add(tf);\r\n\r\nvar button = Ti.UI.createButton({\r\n title:'Click me',\r\n borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,\r\n top:100,\r\n right:10,\r\n left:10\r\n});\r\nwin.add(button);\r\n\r\nbutton.addEventListener('click', function() {\r\n button.title = tf.value;\r\n console.log('Text: ' + tf.value);\r\n});\r\n{code}", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-01-12T23:07:51.000+0000", "updated": "2015-01-12T23:07:51.000+0000" }, { "id": "338789", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified autocorrected strings are used with KS master (ec91024c39d58924995f3b689bb33ee1fc2b2b97) and the above sample code.\r\n\r\nTested on:\r\n\r\nAppcelerator Studio, build: 3.4.1.201410281743\r\nSDK build: 3.5.0.v20150112153317\r\nCLI: 3.4.1\r\nAlloy: 1.5.1\r\nXcode: 6.2 beta 3\r\nDevices: iphone 6 plus (8.1.1), iphone 5 (8.1.1)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-13T00:37:08.000+0000", "updated": "2015-01-13T00:37:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }