{ "id": "89482", "key": "TIMOB-8515", "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": "2012-04-12T12:54:55.000+0000", "created": "2012-04-04T14:07:08.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "SupportTeam", "core", "look1" ], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "16540", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "89481", "key": "TIMOB-8514", "fields": { "summary": "Android: \"force close\" in open photo gallery and/or camera - Sample test case attached", "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 } } } } ], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T21:23:15.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "A client has encounter a problem in the window.js file in the SDK.\r\n\r\nI have not been able to reproduce it.\r\n\r\nThere is a \"delete account\" button than when pressed, it will fire a global app event. Ti.App.fireEvent();\r\nThis event will close all the open windows, except the \"BaseWindow\" (heavyweight window in declared in app.js), including the one where the button is. The button is in a lightweight window that sits on top of the BaseWindow. After the windows are closed, a lightweight window (login window) opens on top of the BaseWidow (in place of the previously closed one). And this is where they're seeing this runtime error.\r\n", "attachment": [], "flagged": false, "summary": "Android: runtime error in ti/window.js", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Nexus One passion 2.3.4 GRJ22\r\nTi SDK 2.0.0.v20120330103228\r\nV8\r\nAndroid", "comment": { "comments": [ { "id": "190118", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "This is smallest test case I could come up with without leaving any major parts out:\r\n\r\nhttps://gist.github.com/fed5005b2ab33b6da445\r\n\r\nTo reproduce:\r\n\r\n1. Run the code in app.js\r\n2. Click the login button.\r\n3. Login window (lightweight) will close and settings window (lightweight) will open\r\n4. Click the fireEvent and the app could throw a runtime error here.\r\n5. If #4 goes well without runtime error, that window will close and login will reopen\r\n6. Click login and then click on the \"Open a window\" button.\r\n7. Click the fireEvent button in this new window.\r\n8. If #7 goes well, all the windows will close and the login will reopen, otherwise, runtime error will occur.\r\n9. Repeat step #6\r\n10. Try closing the \"other window\" with the back button and click the fire event. It could fail here.\r\n\r\n", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-05T19:16:19.000+0000", "updated": "2012-04-05T19:16:19.000+0000" }, { "id": "414995", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate with regards to the information provided elsewhere in this ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T21:23:15.000+0000", "updated": "2017-03-22T21:23:15.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }