{ "id": "93570", "key": "TIMOB-9670", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-05-01T22:21:28.000+0000", "created": "2012-06-20T15:24:53.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "anvil", "api", "linvalid", "parity" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-22T22:14: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": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "Test cases:\r\n1. Anvil: start --suite=ui/ui --test=windowOrientation\r\n2. App test:\r\n{code}\r\nvar w = Ti.UI.createWindow();\r\nTi.API.info(\"w.orientation=\"+w.orientation);\r\nTi.API.info(\"should be one of \"+[Ti.UI.PORTRAIT, Ti.UI.LANDSCAPE_LEFT]);\r\n{code}\r\n\r\nExpected result:\r\n{code}\r\n[INFO] w.orientation=1 or 4\r\n[INFO] should be one of 1,4\r\n{code}\r\n\r\nActual result:\r\n{code}\r\n[INFO] w.orientation=undefined\r\n[INFO] should be one of 1,4\r\n{code}", "attachment": [], "flagged": false, "summary": "TiAPI: Anvil: Default value of TiWindow.orientation should not be undefined", "creator": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS", "comment": { "comments": [ { "id": "213008", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "Nothing about this bug report indicates this as a Anvil bug versus platform bug. The failure should be verified with a test case that uses require.", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-08-06T15:23:52.000+0000", "updated": "2012-08-06T15:23:52.000+0000" }, { "id": "418466", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\" as Anvil is no longer supported.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-01T22:21:28.000+0000", "updated": "2017-05-01T22:21:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }