{
"id": "127878",
"key": "TIMOB-16656",
"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": {
"id": "3",
"description": "The problem is a duplicate of an existing issue.",
"name": "Duplicate"
},
"resolutiondate": "2014-05-16T20:32:30.000+0000",
"created": "2014-03-19T21:35:59.000+0000",
"priority": {
"name": "High",
"id": "2"
},
"labels": [
"regression"
],
"versions": [
{
"id": "15857",
"description": "Release 3.2.2",
"name": "Release 3.2.2",
"archived": false,
"released": true,
"releaseDate": "2014-03-09"
}
],
"issuelinks": [
{
"id": "37610",
"type": {
"id": "10000",
"name": "Blocks",
"inward": "is blocked by",
"outward": "blocks"
},
"outwardIssue": {
"id": "125904",
"key": "ALOY-949",
"fields": {
"summary": "Customizable properties for dialogs bultin",
"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"
}
},
"priority": {
"name": "Low",
"id": "4"
},
"issuetype": {
"id": "4",
"description": "An improvement or enhancement to an existing feature or task.",
"name": "Improvement",
"subtask": false
}
}
}
},
{
"id": "37685",
"type": {
"id": "10002",
"name": "Duplicate",
"inward": "is duplicated by",
"outward": "duplicates"
},
"outwardIssue": {
"id": "130163",
"key": "TIMOB-16931",
"fields": {
"summary": "MobileWeb: AlertDialog click listener is not fired in SDK >= 3.2.0",
"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"
}
},
"priority": {
"name": "High",
"id": "2"
},
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
}
}
}
},
{
"id": "37510",
"type": {
"id": "10002",
"name": "Duplicate",
"inward": "is duplicated by",
"outward": "duplicates"
},
"inwardIssue": {
"id": "130249",
"key": "ALOY-1013",
"fields": {
"summary": "MobileWeb: Builtin Confirm Dialogs not closing after clicking on yes/no",
"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"
}
},
"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": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"updated": "2017-03-20T22:15:44.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": "11500",
"name": "MobileWeb",
"description": "Mobile Web (HTML) Platform"
}
],
"description": "I have a simple script to build my project and serve it from the command line:\r\n\r\ntitanium clean\r\ntitanium build -p mobileweb -D development\r\npushd build/mobileweb\r\npython -m SimpleHTTPServer\r\npopd\r\n\r\nThe project itself isn't really relevant to the test case (titanium create a simple mobileweb project - out of the box tabbed app will display the behavior below).\r\n\r\nIf I edit tiapp.xml to use 3.1.3.GA, then the code snippet below works as expected via the chrome and safari javascript consoles when visiting (http://localhost:8000/index.html):\r\n\r\n{code}\r\nTi.UI.createAlertDialog({message: \"hi\"}).show(); \r\n{code}\r\n\r\nThe alert dialog is displayed, I click Ok, and it disappears.\r\n\r\nIf I edit tiapp.xml to use 3.2.2.GA, then the same snippet of code in the javascript console:\r\n\r\n{code}\r\nTi.UI.createAlertDialog({message: \"hi\"}).show(); \r\n{code}\r\n\r\nThe alert dialog is displayed, but when I click Ok, it doesn't dismiss. It doesn't even appear that the 'click' event makes it back to the object because if I add it to the event listener with a console.log, it doesn't show in the console.\r\n\r\n{code}\r\nvar b = Ti.UI.createAlertDialog({message: \"hi\"});\r\nb.addEventListener('click',function(){console.log('hello')})\r\nb.show()\r\n{code}",
"attachment": [],
"flagged": false,
"summary": "MobileWeb: createAlertDialog does not dismiss Ok button click",
"creator": {
"name": "crobe03",
"key": "crobe03",
"displayName": "Beau Croteau",
"active": true,
"timeZone": "America/New_York"
},
"subtasks": [],
"reporter": {
"name": "crobe03",
"key": "crobe03",
"displayName": "Beau Croteau",
"active": true,
"timeZone": "America/New_York"
},
"environment": "Ubuntu 12.04 LTS\r\nnode v0.10.26\r\nnpm v1.4.3\r\ntitanium 3.2.1\r\nalloy 1.3.1\r\n",
"closedSprints": [
{
"id": 107,
"state": "closed",
"name": "2014 Sprint 10 Tooling",
"startDate": "2014-05-12T16:00:00.000Z",
"endDate": "2014-05-24T00:00:00.000Z",
"completeDate": "2014-05-27T18:11:27.256Z",
"originBoardId": 121
}
],
"comment": {
"comments": [
{
"id": "298086",
"author": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Moving this ticket to engineering as I can reproduce this issue with 3.2.2 release but not with 3.1.3 release.\r\n\r\n{code}\r\nvar win = Ti.UI.currentWindow;\r\nvar alertDialog = Titanium.UI.createAlertDialog({\r\n message: 'Testing Bug 3916'\r\n});\r\nalertDialog.show();\r\n{code}",
"updateAuthor": {
"name": "ragrawal",
"key": "ragrawal",
"displayName": "Ritu Agrawal",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2014-03-20T16:58:31.000+0000",
"updated": "2014-03-21T04:56:22.000+0000"
},
{
"id": "305355",
"author": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"body": "Dupe of TIMOB-16931.",
"updateAuthor": {
"name": "cbarber",
"key": "cbarber",
"displayName": "Chris Barber",
"active": true,
"timeZone": "America/Chicago"
},
"created": "2014-05-16T20:32:30.000+0000",
"updated": "2014-05-16T20:32:30.000+0000"
},
{
"id": "414070",
"author": {
"name": "lmorris",
"key": "lmorris",
"displayName": "Lee Morris",
"active": false,
"timeZone": "America/Los_Angeles"
},
"body": "Closing ticket as duplicate.",
"updateAuthor": {
"name": "lmorris",
"key": "lmorris",
"displayName": "Lee Morris",
"active": false,
"timeZone": "America/Los_Angeles"
},
"created": "2017-03-20T22:15:44.000+0000",
"updated": "2017-03-20T22:15:44.000+0000"
}
],
"maxResults": 3,
"total": 3,
"startAt": 0
}
}
}