{ "id": "174246", "key": "ALOY-1707", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2019-11-07T22:17:01.000+0000", "created": "2019-10-11T05:42:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ACF", "en" ], "versions": [ { "id": "20860", "description": "", "name": "Alloy 1.14.1", "archived": false, "released": true, "releaseDate": "2019-08-19" } ], "issuelinks": [], "assignee": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2019-11-07T22:17:01.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "Just found a rather odd bug using a textfield. Looks like it refuses to take a value of 86.6 instead setting it to 86.599999999\r\n\r\n*Test Environment:*\r\n{code}\r\nAppcelerator Command-Line Interface, version 7.0.12\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.13.6\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 10.16.3\r\n npm Version = 6.9.0\r\nTitanium CLI\r\n CLI Version = 5.1.1\r\nTitanium SDK\r\n SDK Version = 8.2.0.GA\r\n Target Platform = iphone\r\n{code}\r\n\r\n*Test code:*\r\n*Index.xml*\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n*Index.js*\r\n{code}\r\nfunction onClick() {\r\n\tTi.API.info('@@@ Setting focus');\r\n\talert($.Text1.getValue());\r\n}\r\n\r\n$.index.open(); \r\n{code}\r\n\r\n*Test result:* See the attachment section.\r\n\r\n*Test steps:*\r\n1. Open Appcelerator studio and create an alloy project.\r\n2. Add index.xml and index.js in the project.\r\n3. Run the project with iOS 13 or iOS 12 device or simulator.", "attachment": [ { "id": "67080", "filename": "Screenshot 2019-10-23 at 12.08.29 AM.png", "author": { "name": "rislam", "key": "rislam", "displayName": "Riduanul Islam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-22T18:46:39.000+0000", "size": 42971, "mimeType": "image/png" }, { "id": "67051", "filename": "Simulator Screen Shot - iPhone X - 2019-10-11 at 11.34.27.png", "author": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2019-10-11T05:35:09.000+0000", "size": 69418, "mimeType": "image/png" } ], "flagged": false, "summary": "TextField property \"value\" generate a bug in iOS", "creator": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "nsalahin", "key": "nsalahin", "displayName": "Nazmus Salahin", "active": true, "timeZone": "Asia/Dhaka" }, "environment": "iOS 13, iOS 12", "closedSprints": [ { "id": 1170, "state": "closed", "name": "2019 Sprint 23", "startDate": "2019-11-04T18:38:14.526Z", "endDate": "2019-11-17T18:38:00.000Z", "completeDate": "2019-11-18T16:38:18.423Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "452007", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "A quick workaround is set the value in \"index.js\" instead of \"index.xml\".\r\n\r\nindex.xml\r\n\r\n{code:java}\r\n\r\n \r\n \r\n \r\n\r\n{code}\r\n\r\n\r\n\r\nindex.js\r\n{code:java}\r\nfunction onClick() {\r\n\tTi.API.info('@@@ Setting focus');\r\n\talert($.Text1.getValue());\r\n}\r\n \r\n$.Text1.value = \"86.6\";\r\n$.index.open();\r\n{code}\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-10-11T22:15:46.000+0000", "updated": "2019-10-11T22:15:46.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }