{ "id": "130354", "key": "TIMOB-16950", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-05-21T21:39:29.000+0000", "created": "2014-05-13T06:30:48.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "module_alertdialog", "qe-closed-3.3.0", "qe-testadded" ], "versions": [ { "id": "15857", "description": "Release 3.2.2", "name": "Release 3.2.2", "archived": false, "released": true, "releaseDate": "2014-03-09" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [ { "id": "37609", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "129848", "key": "TIMOB-16947", "fields": { "summary": "Blackberry : Titanium.UI.AlertDialog.hide() prevents reuse of dialog", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-30T10:09:39.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": "h4. Problem Description\r\nif i hide one Titanium.UI.AlertDialog with .hide(), other dialogs after this will not show up too! \r\nExample:\r\n\r\nIf a AlertDialog is hidden by .hide(), the Dialog can not be shown again using .show().\r\nHappens on Blackberry Simulator an on device.\r\n\r\nh4. Steps to reproduce\r\n1. Create a new mobile project with bb support\r\n2. Add this to app.js:\r\n{code}\r\nvar win = Ti.UI.createWindow(\r\nvar other = Ti.UI.createAlertDialog(\r\n\r\n{ message: 'Message', buttonNames: ['OK'] }\r\n); \r\nvar a = Ti.UI.createAlertDialog(\r\n\r\n{ message: 'Message', buttonNames: [] }\r\n); \r\na.show(); \r\na.hide(); \r\nother.show();\r\n{code}\r\n3. Run this in the emulator.\r\n\r\nh4. Expected results\r\nThe app showing the \"other\" alert dialog.\r\n\r\nh4. Actual results\r\nThe app doesn't show any dialog after using the .hide function in at least one dialog \r\n", "attachment": [], "flagged": false, "summary": "Blackberry : Titanium.UI.AlertDialog.hide() prevents any use of other dialog", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "thodev", "key": "thodev", "displayName": "Thorsten Meyer", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Blackberry 10.2, Titanium Studio 3.2.3.201404181442", "comment": { "comments": [ { "id": "305145", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/224", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-05-15T18:43:30.000+0000", "updated": "2014-05-15T18:43:30.000+0000" }, { "id": "311600", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with:\r\n\r\nAppcelerator-Studio:3.3.0.201406271159\r\nSdk:3.3.0.v20140627202512\r\nacs:1.0.14\r\nalloy:1.4.0-rc3\r\nnpm:1.3.2\r\ntitanium:3.3.0-rc4\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nOS:Maverick(10.9.3)\r\nDevice:Blackberry Z10(10.0.10.261)\r\n\r\nAlertDialog hide() working as expected.\r\nHence closing the issue.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-30T10:09:39.000+0000", "updated": "2014-06-30T10:09:39.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }