{ "id": "109069", "key": "TIMOB-12560", "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": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15578", "description": "2013 Sprint 16 API", "name": "2013 Sprint 16 API", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-13T16:14:37.000+0000", "created": "2013-02-02T00:40:53.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2013-11-14T00:17: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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "Description:\r\n1.Build and run KS on BB simulator/device or use the code below\r\n2.In KS goto base_ui -> views -> alert dialog\r\n3.Tap on double alert\r\n\r\nOR\r\n\r\nUse this test code:\r\n{code}\r\nvar win = Ti.UI.createWindow({ \r\n backgroundColor: 'white',\r\n});\r\n\r\nvar button4 = Titanium.UI.createButton({\r\ntitle:'Double Alert',\r\nheight:100,\r\nwidth:400,\r\ntop:160\r\n});\r\n\t\r\nbutton4.addEventListener('click', function()\r\n{\r\n// test firing 2 alerts in a row, should show the\r\n// first and after you click OK, should then show the next\r\nalert(\"You should see this first\");\r\nalert(\"Now you should see this one, assuming you dismissed the first alert\");\r\n});\r\nwin.add(button4);\r\nwin.open();\r\n{code}\r\n \r\n\r\nActual result:\r\n1.We get two alerts one after another without waiting for us to close the first alert\r\n\r\nExpected Result:\r\n1.After taping on 'OK' or 'Cancel' on the first alert then we should get the second alert\r\n", "attachment": [], "flagged": false, "summary": "BlackBerry : For double alerts the second alert is fired immediately rather than waiting for the first alert to close", "creator": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nTi Studio : 3.1.0.201301231719\r\nTi BB SDK : 3.1.0.v20130201104444\r\nMac OSX : 10.8.2\r\nwin 7 64 bit\r\nWin 8 \r\nBB simulator : 10.0.9.386", "comment": { "comments": [ { "id": "265758", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/156", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-08-09T18:37:22.000+0000", "updated": "2013-08-09T18:37:22.000+0000" }, { "id": "279460", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311122225\nTitanium SDK, build: 3.2.0.v20131113094843\nCLI: 3.2.0\nAlloy: 1.3.0\nBlackBerry Simulator: 10.2.0.1791\n\nVerified the fix using the test code from the description.\nClicking the button produced an alert, once that one is closed the second alert pops up.\nAlerts don't pop up at the same time.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-14T00:17:40.000+0000", "updated": "2013-11-14T00:17:40.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }