{ "id": "99020", "key": "TIMOB-10399", "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": "14065", "description": "Sprint 2012-17 API", "name": "Sprint 2012-17 API", "archived": true, "released": true, "releaseDate": "2012-08-27" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-10-26T21:43:22.000+0000", "created": "2012-08-10T14:06:07.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api" ], "versions": [ { "id": "13572", "description": "Release 2.1.1", "name": "Release 2.1.1", "archived": true, "released": true, "releaseDate": "2012-07-31" } ], "issuelinks": [ { "id": "20147", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "99669", "key": "TIMOB-10577", "fields": { "summary": "iOS: Kroll: Introspection is too introspective", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "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": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-10-26T21:43:22.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Run the below code snippet to see the app crashing on iOS.\r\nOn Android, it throws an error 'window is not defined'\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tlayout : \"vertical\"\r\n});\r\n\r\nTi.API.info(\"App crash by accessing window property\"+win.window);\r\n\r\nwindow.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Application crashes when win.window property is accessed", "creator": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "anagesh", "key": "anagesh", "displayName": "Anirudh Nagesh", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Ti SDK 2.1.1 and iOS 5.1", "comment": { "comments": [ { "id": "214891", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The app crashes because of \r\n{code}\r\nwindow.open()\r\n{code}\r\n\r\n'window' is not defined, 'win' is.\r\n\r\nEdit: 'win.window' crashes on iOS, which verified the validity of this bug. It should NOT crash.", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-16T15:00:32.000+0000", "updated": "2012-08-16T15:05:40.000+0000" }, { "id": "215852", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "window is a private property of Ti.UI.Window on iOS, and is not to be used by JS. To hide the non-JS intended properties requires deep changes to the underlying code at many levels.\r\n\r\nShort version: Don't do that. Marking as hold. Looking for bug describing underlying condition.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-08-23T11:53:45.000+0000", "updated": "2012-08-23T11:53:45.000+0000" }, { "id": "225189", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as a duplicate of 10577.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-26T21:42:55.000+0000", "updated": "2012-10-26T21:42:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }