{ "id": "98700", "key": "TIMOB-10436", "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": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2013-04-09T10:52:35.000+0000", "created": "2012-08-06T00:01:22.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [], "assignee": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-21T22:16:28.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": "h2. Problem description\r\n\r\nWhen using an textfield with iOS autocorrect, you'll sometimes get unexpected values.\r\n\r\nh2. Steps to reproduce\r\n\r\n1. Execute the code in app_3.js on a device\r\n2. Type the beginning of a device-known long word (Dutch: Amst)\r\n3. When the suggestion (Dutch: Amsterdam) appears hit the soft keyboard return button\r\n4. Check the console\r\n\r\nThe results are not always the same, bot mostly one of these.\r\n\r\n{code}\r\n[INFO] RETURN\r\n[INFO] e.value: Amst\r\n[INFO] e.source.getValue(): Amsterdam\r\n[INFO] t.getValue(): Amsterdam\r\n\r\n[INFO] RETURN\r\n[INFO] e.value: Amst\r\n[INFO] e.source.getValue(): Amst\r\n[INFO] t.getValue(): Amst\r\n\r\n[INFO] RETURN\r\n[INFO] e.value: Amst\r\n[INFO] e.source.getValue(): Amst\r\n[INFO] t.getValue(): AmstAmsterdam\r\n{code}\r\n\r\nAnother example:\r\n\r\n1. Execute the code in app_3.js on a device\r\n2. Type the beginning of a device-known long word (Dutch: Amst)\r\n3. When the suggestion (Dutch: Amsterdam) appears hit the soft keyboard space bar to complete it\r\n4. Hit backspace to delete the space iOS automatically added after the word\r\n5. Hit the submit button\r\n6. Check the console\r\n\r\nThe results are not always the same, bot mostly:\r\n\r\n{code}\r\n[INFO] CLICK\r\n[INFO] t.getValue(): AmsterdamAmsterdam\r\n{code}\r\n\r\nh2. Expected results\r\nvalue and getValue() should return the correct word.", "attachment": [ { "id": "30344", "filename": "app_3.js", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-08-07T23:52:51.000+0000", "size": 630, "mimeType": "application/x-javascript" }, { "id": "30280", "filename": "app.js", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-08-06T00:30:12.000+0000", "size": 667, "mimeType": "application/x-javascript" }, { "id": "30279", "filename": "app.js", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-08-06T00:04:45.000+0000", "size": 268, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: Textfield gives incorrect values with autocorrect enabled", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "* Mac OS X Lion\r\n* Titanium Studio 2.1.1\r\n* Titanium Mobile SDK 2.1.1\r\n* Device using iOS 5.1\r\n", "comment": { "comments": [ { "id": "211487", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Use the newest (first) app.js", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-08-06T00:31:04.000+0000", "updated": "2012-08-06T00:31:04.000+0000" }, { "id": "213289", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "The return-event bug can be workaround bij delaying the execution of code where you retrieve the value.\r\n\r\nThe spacebar bug can be workaround by checking if the second half of the value equals the first half en then substr either one.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2012-08-08T02:11:48.000+0000", "updated": "2012-08-08T02:11:48.000+0000" }, { "id": "246617", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue does not reproduces \r\n\r\nTested with\r\n\r\nTitanium Studio, build: 3.0.1.201212181159\r\nTitanium SDK version: 3.1.0 \r\nTitanium SDK version: 3.0.2 \r\niOS iPhone Simulator: iOS SDK version:5.1, 6.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-04-09T10:52:35.000+0000", "updated": "2013-06-20T13:16:22.000+0000" }, { "id": "414559", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as the issue cannot be reproduced and due to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-21T22:16:28.000+0000", "updated": "2017-03-21T22:16:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }