{ "id": "166051", "key": "TIMOB-24406", "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": [], "resolution": null, "resolutiondate": null, "created": "2017-02-16T04:55:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "engReviewed", "engSchedule", "imageview" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" }, { "id": "18154", "name": "Release 6.0.1", "archived": false, "released": true, "releaseDate": "2016-12-21" } ], "issuelinks": [ { "id": "54477", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "166332", "key": "TIMOB-24434", "fields": { "summary": "iOS: Unable to modify key of an Object property", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-10-01T19:20:07.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "- Properties which are writable Objects such as {{Point}} and {{Font}} cannot have their keys directly changed.\r\n\r\nTEST CASE\r\n{code:js}\r\nvar win = Ti.UI.createWindow({\r\n title: 'TIMOB-24406',\r\n backgroundColor: 'gray'\r\n }),\r\n iv = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n width: '320',\r\n height: '480',\r\n center: {\r\n x: (Ti.Platform.displayCaps.platformHeight / 2) + 'px',\r\n y: (Ti.Platform.displayCaps.platformWidth / 2) + 'px'\r\n }\r\n });\r\n\r\nwin.addEventListener('click', function(e) {\r\n iv.center.x = (Ti.Platform.displayCaps.platformHeight / 2) - e.x;\r\n iv.center.y = (Ti.Platform.displayCaps.platformWidth / 2) - e.y;\r\n //iv.center = {x: e.x, y: e.y}; // workaround\r\n Ti.API.info('center.x: ' + iv.center.x);\r\n Ti.API.info('center.y: ' + iv.center.y);\r\n});\r\n\r\nwin.add(iv);\r\nwin.open();\r\n{code}", "attachment": [ { "id": "61574", "filename": "SDK 5.png", "author": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-16T04:55:12.000+0000", "size": 13249, "mimeType": "image/png" }, { "id": "61573", "filename": "SDK 6.png", "author": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-16T04:55:12.000+0000", "size": 41802, "mimeType": "image/png" } ], "flagged": false, "summary": "Android: Unable to modify key of an Object property", "creator": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.12.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 4.6.2\r\n npm Version = 4.0.5\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.8\r\n Core Package = 6.1.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\n node-appc Version = 0.2.39\r\n\r\nTitanium SDKs\r\n 6.0.1.GA\r\n Version = 6.0.1\r\n Install Location = /Users/dinghengduan/Library/Application Support/Titanium/mobilesdk/osx/6.0.1.GA\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 265db0d\r\n git Timestamp = 12/20/2016 00:55\r\n node-appc Version = 0.2.39\r\n 6.0.0.GA\r\n Version = 6.0.0\r\n Install Location = /Users/dinghengduan/Library/Application Support/Titanium/mobilesdk/osx/6.0.0.GA\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 1aa3df8\r\n git Timestamp = 11/13/2016 09:27\r\n node-appc Version = 0.2.39\r\n 5.5.1.GA\r\n Version = 5.5.1\r\n Install Location = /Users/dinghengduan/Library/Application Support/Titanium/mobilesdk/osx/5.5.1.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = b18727f\r\n git Timestamp = 09/27/16 05:38\r\n node-appc Version = 0.2.36\r\n 5.3.1.GA\r\n Version = 5.3.1\r\n Install Location = /Users/dinghengduan/Library/Application Support/Titanium/mobilesdk/osx/5.3.1.GA\r\n Platforms = android, mobileweb, iphone\r\n git Hash = ee11b10\r\n git Timestamp = 06/09/16 01:33\r\n node-appc Version = 0.2.33", "closedSprints": [ { "id": 1058, "state": "closed", "name": "2018 Sprint 16 SDK", "startDate": "2018-07-29T22:26:06.486Z", "endDate": "2018-08-12T22:26:00.000Z", "completeDate": "2018-08-13T17:38:16.757Z", "originBoardId": 114 }, { "id": 1093, "state": "closed", "name": "2018 Sprint 23", "startDate": "2018-11-04T23:35:52.006Z", "endDate": "2018-11-18T23:35:00.000Z", "completeDate": "2018-11-19T05:30:34.338Z", "originBoardId": 114 }, { "id": 1095, "state": "closed", "name": "2018 Sprint 24", "startDate": "2018-11-19T05:35:58.310Z", "endDate": "2018-12-03T05:35:00.000Z", "completeDate": "2018-12-03T16:28:57.549Z", "originBoardId": 114 }, { "id": 1065, "state": "closed", "name": "2016 Sprint 17 SDK", "startDate": "2018-08-13T17:39:36.846Z", "endDate": "2018-08-27T17:39:00.000Z", "completeDate": "2018-08-29T16:10:57.013Z", "originBoardId": 114 }, { "id": 1070, "state": "closed", "name": "2018 Sprint 18 SDK", "startDate": "2018-08-26T16:14:35.297Z", "endDate": "2018-09-09T16:14:00.000Z", "completeDate": "2018-09-11T20:59:21.495Z", "originBoardId": 114 }, { "id": 1039, "state": "closed", "name": "2018 Sprint 12 SDK", "startDate": "2018-06-03T15:22:23.401Z", "endDate": "2018-06-17T15:22:00.000Z", "completeDate": "2018-06-18T20:45:36.363Z", "originBoardId": 114 }, { "id": 1104, "state": "closed", "name": "2018 Sprint 26", "startDate": "2018-12-17T15:56:00.172Z", "endDate": "2018-12-21T15:56:00.000Z", "completeDate": "2018-12-26T17:42:17.145Z", "originBoardId": 114 }, { "id": 1073, "state": "closed", "name": "2018 Sprint 19 SDK", "startDate": "2018-09-09T21:02:56.422Z", "endDate": "2018-09-23T21:02:00.000Z", "completeDate": "2018-09-23T22:28:10.932Z", "originBoardId": 114 }, { "id": 1106, "state": "closed", "name": "2019 Sprint 1", "startDate": "2018-12-31T19:39:58.070Z", "endDate": "2019-01-11T19:39:00.000Z", "completeDate": "2019-01-14T17:17:47.552Z", "originBoardId": 114 }, { "id": 1108, "state": "closed", "name": "2019 Sprint 2", "startDate": "2019-01-14T17:20:19.067Z", "endDate": "2019-01-26T17:20:00.000Z", "completeDate": "2019-01-28T17:38:11.580Z", "originBoardId": 114 }, { "id": 1045, "state": "closed", "name": "2018 Sprint 13 SDK", "startDate": "2018-06-17T20:47:13.621Z", "endDate": "2018-07-01T20:47:00.000Z", "completeDate": "2018-07-02T18:40:05.029Z", "originBoardId": 114 }, { "id": 1109, "state": "closed", "name": "2019 Sprint 3", "startDate": "2019-01-28T17:38:43.075Z", "endDate": "2019-02-09T17:38:00.000Z", "completeDate": "2019-02-08T21:37:29.498Z", "originBoardId": 114 }, { "id": 1078, "state": "closed", "name": "2018 Sprint 20 SDK", "startDate": "2018-09-23T16:57:58.349Z", "endDate": "2018-10-07T16:57:00.000Z", "completeDate": "2018-10-07T23:31:40.476Z", "originBoardId": 114 }, { "id": 1112, "state": "closed", "name": "2019 Sprint 4", "startDate": "2019-02-11T16:16:38.316Z", "endDate": "2019-02-23T16:16:00.000Z", "completeDate": "2019-02-24T18:35:43.422Z", "originBoardId": 114 }, { "id": 1050, "state": "closed", "name": "2018 Sprint 14 SDK", "startDate": "2018-07-01T18:40:57.193Z", "endDate": "2018-07-15T18:40:00.000Z", "completeDate": "2018-07-16T03:27:08.720Z", "originBoardId": 114 }, { "id": 1084, "state": "closed", "name": "2018 Sprint 21", "startDate": "2018-10-07T23:32:40.560Z", "endDate": "2018-10-21T23:32:00.000Z", "completeDate": "2018-10-21T23:19:05.460Z", "originBoardId": 114 }, { "id": 1053, "state": "closed", "name": "2018 Sprint 15 SDK", "startDate": "2018-07-15T21:52:05.453Z", "endDate": "2018-07-29T21:52:00.000Z", "completeDate": "2018-07-29T22:25:11.723Z", "originBoardId": 114 }, { "id": 1118, "state": "closed", "name": "2019 Sprint 5", "startDate": "2019-02-24T18:36:06.435Z", "endDate": "2019-03-08T18:36:00.000Z", "completeDate": "2019-03-07T22:19:47.057Z", "originBoardId": 114 }, { "id": 1119, "state": "closed", "name": "2019 Sprint 6", "startDate": "2019-03-03T22:20:00.193Z", "endDate": "2019-03-15T22:20:00.000Z", "completeDate": "2019-03-18T17:26:43.120Z", "originBoardId": 114 }, { "id": 1088, "state": "closed", "name": "2018 Sprint 22", "startDate": "2018-10-21T23:20:52.653Z", "endDate": "2018-11-04T23:20:00.000Z", "completeDate": "2018-11-04T23:29:59.423Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "407173", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "This is Android right? [~gmathews] Do we have this regression in 6.0.2 already? Might be worth checking in that timeline.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-02-16T09:46:48.000+0000", "updated": "2017-02-16T09:46:48.000+0000" }, { "id": "407242", "author": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "body": "yes, this is happen in Android", "updateAuthor": { "name": "Yellowcube", "key": "yellowcube", "displayName": "Yellowcube", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-17T01:10:54.000+0000", "updated": "2017-02-17T01:10:54.000+0000" }, { "id": "408008", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8850", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-02-25T02:48:25.000+0000", "updated": "2017-02-25T02:48:25.000+0000" }, { "id": "442011", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Waiting for the conflicts to be resolved in the PR.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-09-24T21:22:07.000+0000", "updated": "2018-09-24T21:22:07.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }