{
"id": "155826",
"key": "TIMOB-20600",
"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": "17707",
"name": "Release 5.3.0",
"archived": false,
"released": true,
"releaseDate": "2016-06-04"
}
],
"resolution": {
"id": "1",
"description": "A fix for this issue is checked into the tree and tested.",
"name": "Fixed"
},
"resolutiondate": "2016-03-22T13:37:32.000+0000",
"created": "2016-03-18T13:25:57.000+0000",
"priority": {
"name": "Critical",
"id": "1"
},
"labels": [
"close",
"window",
"windows_phone"
],
"versions": [
{
"id": "16997",
"name": "Release 5.2.0",
"archived": false,
"released": true,
"releaseDate": "2016-02-23"
}
],
"issuelinks": [],
"assignee": {
"name": "kiguchi",
"key": "kota",
"displayName": "Kota Iguchi",
"active": false,
"timeZone": "America/Los_Angeles"
},
"updated": "2016-04-12T20:43:21.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": "12642",
"name": "Windows",
"description": "Windows authoring support"
}
],
"description": "It's affected 5.2.0. \r\n\r\nUse case (working on ios/android):\r\n\r\nWindow_1 opens Window_2 -> Window_2 opens Window_3 -> Window_3 closes Window_2 -> App throws unknown exception.\r\n\r\n*index.js:*\r\n{code:javascript}\r\nfunction onClick(e) {\r\n var c = Alloy.createController('second', {\r\n \tprevWin: $.win\r\n }); \r\n var w = c.getView();\r\n w.open();\r\n}\r\n$.win.open();\r\n{code}\r\n\r\n*index.xml:*\r\n{noformat}\r\n\r\n \r\n\t\t \r\n \r\n\r\n{noformat}\r\n\r\n----\r\n\r\n*second.js:*\r\n{code:javascript}\r\nvar args = $.args;\r\nfunction onClick() {\r\n\t var c = Alloy.createController('third', {\r\n \tprevWin: $.win\r\n }); \r\n\tvar w = c.getView();\r\n\tw.open();\r\n}\r\n{code}\r\n\r\n*second.xml:*\r\n{noformat}\r\n\r\n \r\n\t\t\r\n\t\r\n\r\n{noformat}\r\n\r\n----\r\n\r\n*third.js:*\r\n{code:javascript}\r\nvar args = $.args;\r\nfunction onClick() {\r\n\targs.prevWin.close();\r\n}\r\n{code}\r\n\r\n*third.xml:*\r\n{noformat}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{noformat}\r\n\r\n\r\n\r\n",
"attachment": [],
"flagged": false,
"summary": "Windows: close window throws unknown exception",
"creator": {
"name": "zozo4kin",
"key": "zozo4kin",
"displayName": "Zakhar Zhuravlev",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [],
"reporter": {
"name": "zozo4kin",
"key": "zozo4kin",
"displayName": "Zakhar Zhuravlev",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": null,
"closedSprints": [
{
"id": 597,
"state": "closed",
"name": "2016 Sprint 06 SDK",
"startDate": "2016-03-12T01:30:59.982Z",
"endDate": "2016-03-26T00:30:00.000Z",
"completeDate": "2016-03-28T03:38:09.726Z",
"originBoardId": 114
}
],
"comment": {
"comments": [
{
"id": "382528",
"author": {
"name": "htbryant",
"key": "htbryant",
"displayName": "Harry Bryant",
"active": true,
"timeZone": "Europe/London"
},
"body": "Verified as fixed, close window no longer throws unknown exception.\r\n\r\nTested on:\r\nWindows 10 Home & Pro\r\nWindows Phone 10.0 & 8.1 (Microsoft Lumia 640 LTE)\r\nAppc Studio: 4.6.0.201604081249\r\nTi SDK: 5.3.0.v20160411203046 \r\nAppc NPM: 4.2.5-1\r\nAppc Core: 5.3.0-12\r\nNode: v4.4.2\r\n\r\n*Closing Ticket.*",
"updateAuthor": {
"name": "htbryant",
"key": "htbryant",
"displayName": "Harry Bryant",
"active": true,
"timeZone": "Europe/London"
},
"created": "2016-04-12T20:42:17.000+0000",
"updated": "2016-04-12T20:42:17.000+0000"
}
],
"maxResults": 4,
"total": 4,
"startAt": 0
}
}
}