{
"id": "102644",
"key": "AC-2388",
"fields": {
"issuetype": {
"id": "1",
"description": "A problem which impairs or prevents the functions of the product.",
"name": "Bug",
"subtask": false
},
"project": {
"id": "12217",
"key": "AC",
"name": "Appcelerator - INBOX",
"projectCategory": {
"id": "10000",
"description": "",
"name": "Customer Service"
}
},
"resolution": {
"id": "5",
"description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.",
"name": "Cannot Reproduce"
},
"resolutiondate": "2013-04-19T23:32:31.000+0000",
"created": "2012-10-04T06:54:48.000+0000",
"labels": [
"triage"
],
"versions": [],
"issuelinks": [],
"assignee": {
"name": "mpmiranda",
"key": "mpmiranda",
"displayName": "Mauro Parra-Miranda",
"active": true,
"timeZone": "America/Mexico_City"
},
"updated": "2016-03-08T07:41:25.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": "14548",
"name": "Titanium SDK & CLI",
"description": "Please enter tickets related to the MobileSDK here."
}
],
"description": "We have designed custom Dashboard view for android, we are using platformwidth and height property to get the screen width and height.\r\nBut we are encountering Uncaught Java Exception : Titanium.Platform.displayCaps.platformWidth when we change android device orientation. Kindly check ASAP.\r\n\r\n",
"attachment": [
{
"id": "32278",
"filename": "titanium_platformWidth_error.png",
"author": {
"name": "mutturajb@gmail.com",
"key": "mutturajb@gmail.com",
"displayName": "mutturaj",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2012-10-04T06:54:48.000+0000",
"size": 280585,
"mimeType": "image/png"
}
],
"flagged": false,
"summary": "Java Exception Error : Titanium.Platform.displayCaps.platformWidth",
"creator": {
"name": "mutturajb@gmail.com",
"key": "mutturajb@gmail.com",
"displayName": "mutturaj",
"active": true,
"timeZone": "America/Los_Angeles"
},
"subtasks": [
{
"id": "112913",
"key": "AC-2724",
"fields": {
"summary": "Android: Textfield loses focus and tableView scrolls to top when entering text into field and pickers are present on other tableViewRows.",
"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"
}
},
"issuetype": {
"id": "5",
"description": "The sub-task of the issue",
"name": "Sub-task",
"subtask": true
}
}
}
],
"reporter": {
"name": "mutturajb@gmail.com",
"key": "mutturajb@gmail.com",
"displayName": "mutturaj",
"active": true,
"timeZone": "America/Los_Angeles"
},
"environment": "Android",
"comment": {
"comments": [
{
"id": "222079",
"author": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Hi mutturaj,\n\nIs it possible for you to provide a reproducible test case in the form of an app.js? I also need you to add the Titanium Mobile SDK version you are building against, and the Android OS version.\n\nThanks.",
"updateAuthor": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2012-10-04T17:17:03.000+0000",
"updated": "2012-10-04T17:17:03.000+0000"
},
{
"id": "235958",
"author": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I've set this to resolved so that the issue can now be edited to provide more info. We appreciate your time in helping to improve our platform.\r\n\r\nThanks,\r\nDaniel",
"updateAuthor": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-01-25T18:39:55.000+0000",
"updated": "2013-01-25T18:39:55.000+0000"
},
{
"id": "247904",
"author": {
"name": "solonl",
"key": "solonl",
"displayName": "Michael Williams",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "I can confirm this problem. For me it just randomly shows this message when accessing the property, but it not always fails. Lets say 1 in 100 times this error occurs *. Just run this a thousand times to test:\nalert(Titanium.Platform.displayCaps.platformWidth);\n\nIt for sure happens in SDK: 3.0.2.GA\nMaybe it is fixed in the new SDK 3.1.0, It's not easy to test, because in my case there is no noticeable reason. ",
"updateAuthor": {
"name": "solonl",
"key": "solonl",
"displayName": "Michael Williams",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-04-17T08:59:00.000+0000",
"updated": "2013-04-17T08:59:00.000+0000"
},
{
"id": "248473",
"author": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Hi Michael,\r\n\r\nI tried this code with 3.1 GA... It never seems to fail for me. Please try with 3.1 GA and let me know how it goes.\r\n\r\n{code}var win = Ti.UI.createWindow({\r\n\tbackgroundColor : \"#FFF\"\r\n});\r\nwin.addEventListener('click', function(e) {\r\n\talert(Titanium.Platform.displayCaps.platformWidth);\r\n});\r\nwin.open();{code}\r\n\r\nThanks.",
"updateAuthor": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-04-19T23:32:31.000+0000",
"updated": "2013-04-19T23:32:31.000+0000"
},
{
"id": "257020",
"author": {
"name": "agnostic",
"key": "agnostic",
"displayName": "Gilberto Avalos",
"active": true,
"timeZone": "America/Mazatlan"
},
"body": "I get this error randomly, but most of the time.\n\nfunction tabWidth() {\n return Ti.Platform.displayCaps.platformWidth / 2;\n}",
"updateAuthor": {
"name": "agnostic",
"key": "agnostic",
"displayName": "Gilberto Avalos",
"active": true,
"timeZone": "America/Mazatlan"
},
"created": "2013-06-10T21:13:46.000+0000",
"updated": "2013-06-10T21:13:46.000+0000"
},
{
"id": "257197",
"author": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"body": "Did you try my test case? Which Ti SDK version?",
"updateAuthor": {
"name": "dsefton",
"key": "dsefton",
"displayName": "Daniel Sefton",
"active": true,
"timeZone": "America/Los_Angeles"
},
"created": "2013-06-11T18:30:46.000+0000",
"updated": "2013-06-11T18:30:46.000+0000"
},
{
"id": "257215",
"author": {
"name": "agnostic",
"key": "agnostic",
"displayName": "Gilberto Avalos",
"active": true,
"timeZone": "America/Mazatlan"
},
"body": "The error occurs when the application is initialized from a uri with a intent filter, here is the code:\r\nhttps://github.com/appcelerator-titans/App/blob/master/Community/Resources/android/ui/TabStripView.js\r\n\r\nSDK Version: 3.1.0.GA\r\n\r\n{code:xml}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n{code}\r\n\r\n{code:html}\r\nTest\r\n{code}",
"updateAuthor": {
"name": "agnostic",
"key": "agnostic",
"displayName": "Gilberto Avalos",
"active": true,
"timeZone": "America/Mazatlan"
},
"created": "2013-06-11T18:54:28.000+0000",
"updated": "2013-06-11T18:57:00.000+0000"
},
{
"id": "258974",
"author": {
"name": "soumyakantikar",
"key": "soumyakantikar",
"displayName": "Soumya Kanti Kar",
"active": true,
"timeZone": "America/Havana"
},
"body": "We are also facing the similar issue and it is very random. We have got it once twice till now in 1.5 month. But we are unable to create a reproducible test case for this. But this is existing and extremely rare.\r\n\r\nGilberto,\r\nCan you please explain as to what did you mean by application initialized URI.\r\n\r\n\r\n \r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n\r\nAbove is the intent filters that we are using for our app. We are testing it with 3.1.0GA",
"updateAuthor": {
"name": "soumyakantikar",
"key": "soumyakantikar",
"displayName": "Soumya Kanti Kar",
"active": true,
"timeZone": "America/Havana"
},
"created": "2013-06-21T10:43:42.000+0000",
"updated": "2013-06-21T11:27:15.000+0000"
}
],
"maxResults": 8,
"total": 8,
"startAt": 0
}
}
}