{ "id": "85151", "key": "TIMOB-7300", "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": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "13405", "description": "Sprint 2012-09 API", "name": "Sprint 2012-09 API", "archived": true, "released": true, "releaseDate": "2012-05-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-07-05T05:51:10.000+0000", "created": "2012-01-19T13:29:31.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_tabgroup", "parity", "qe-and011912", "qe-testadded" ], "versions": [ { "id": "12570", "name": "Release 1.7.5", "archived": true, "released": true, "releaseDate": "2011-11-02" }, { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" }, { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "14635", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "84487", "key": "TIMOB-7000", "fields": { "summary": "Android: UI - crash when window property not initialized on tab creation", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-05T10:42:32.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": "When TabGroup.open() is called when the TabGroup contains a Tab with an uninitialized window property, the app crashes. Log Attached.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Run Code.\r\n\r\n{code:title=app.js}\r\nvar tabGroup = Ti.UI.createTabGroup();\r\n\r\nvar tab = Ti.UI.createTab();\r\n\r\ntabGroup.addTab(tab);\r\n\r\ntabGroup.open();\r\n{code}\r\n\r\nExpected Result:\r\n\r\nApp should display a blank screen (as it does in iOS), or generate a runtime error.\r\n\r\nActual Result:\r\n\r\nCrash.", "attachment": [ { "id": "25173", "filename": "android tabgroup open uninitialized window crash.txt", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T13:29:31.000+0000", "size": 9010, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: Titanium.UI.TabGroup.open(): crash when TabGroup child Tab.window is uninitialized", "creator": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "SDK: 1.9.0.v20120118184633, 1.8.0.1, 1.7.5\r\nAndroid: V8/Rhino\r\nStudio: 1.0.8\r\nOS: Lion\r\nDevices Tested: Galaxy Nexus 4.0.2, Nexus S 2.3.6", "comment": { "comments": [ { "id": "179917", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "TIMOB-7000 involves not being able to set a window property in a tab after object creation, causing a crash when tabgroup.open() is called. This issue (TIMOB-7300) addresses the initial crash behavior of TIMOB-7000 that is still prevalent.", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T13:34:19.000+0000", "updated": "2012-01-19T13:34:19.000+0000" }, { "id": "192811", "author": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Submitted [PR #2077|https://github.com/appcelerator/titanium_mobile/pull/2077] to resolve issue.\r\n\r\nThis removes the crash seen and matchs up with iOS's fallback to displaying an empty tab.", "updateAuthor": { "name": "joshroesslein", "key": "joshroesslein", "displayName": "Josh Roesslein", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-26T14:25:41.000+0000", "updated": "2012-04-26T14:25:41.000+0000" }, { "id": "199946", "author": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Titanium Studio: 2.1.0.201206221045\r\nMobile SDK: 2.1.0.v20120622174154\r\nOS: X Lion\r\nDevice: Samsung Galaxy \r\nRuntime: V8 & Rhino\r\n\r\nFixed.\r\n\r\nBlank screen launched. App didn't crash, successful launch.\r\n", "updateAuthor": { "name": "psingh", "key": "psingh", "displayName": "Payminder Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-06-23T15:20:04.000+0000", "updated": "2012-06-23T15:20:04.000+0000" }, { "id": "201545", "author": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Reopening to update labels.", "updateAuthor": { "name": "nchhabra", "key": "nchhabra", "displayName": "Neha Chhabra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2012-07-05T05:50:27.000+0000", "updated": "2012-07-05T05:50:27.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }