{ "id": "122398", "key": "TIMOB-15706", "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": "2015-01-27T18:13:46.000+0000", "created": "2013-11-13T05:59:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-23T22:41:34.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" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Run the following code:\r\n\r\nExpected result:\r\nAlert should show the same value in iOS and android\r\n\r\nActual result\r\nAlert shows different values in iOS and android\r\n\r\nh4. Test case\r\n{code}\r\nvar win = Titanium.UI.createWindow({ \r\n\t\t\t\tbackgroundColor:'#ffff',\r\n\t\t\t\torientationModes:[Ti.UI.PORTRAIT, Ti.UI.UPSIDE_PORTRAIT]\r\n\t\t\t});\r\nwin.addEventListener('open', function(){\r\n\talert(\"orientation:\"+win.orientationModes);\r\n});\r\nwin.open();\r\n\r\n{code}", "attachment": [], "flagged": false, "summary": "TiAPI: win.orientationModes returns 1,2 in iOS while android returns 1,3", "creator": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 3.1.1.201306112235\r\nTitanium SDK version: 3.1.3.v20130908095038\r\nCLI version: 3.1.2\r\niOS SDK: 6.1\r\niOS iPhone Simulator: 6.1\r\nAndroid SDK: 2.3.3\r\nAndroid device: samsung sdous, android: 4.0.4", "comment": { "comments": [ { "id": "317707", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \r\n\r\nTitanium Studio, build: 3.3.0.201407100905\r\nTitanium SDK version 3.3.0.GA \r\nCLI version 3.3.0, \r\ndevice: HTC Desire X (HT35XLY01791) Android 4.1.1\r\nTargeting Android SDK: 20", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-08-08T11:57:59.000+0000", "updated": "2014-08-08T11:57:59.000+0000" }, { "id": "321777", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces with 3.1.3 and 3.4.0 GA\r\nTitanium Command-Line Interface, \r\nCLI version 3.3.0, \r\nTitanium SDK version 3.4.0.GA \r\niOS SDK: 6.1\r\niOS iPhone Simulator: 6.1", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-04T09:02:26.000+0000", "updated": "2014-09-04T09:02:26.000+0000" }, { "id": "340786", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "These are platform constants exposed via titanium", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-01-27T18:13:46.000+0000", "updated": "2015-01-27T18:13:46.000+0000" }, { "id": "415484", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as Won't Fix with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-23T22:41:34.000+0000", "updated": "2017-03-23T22:41:34.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }