{ "id": "63107", "key": "TIMOB-2475", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-01-23T13:21:30.000+0000", "created": "2011-04-15T03:20:46.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "module_platform", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-01-23T13:21:30.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": "{html}

var scrollHeight = Titanium.Platform.displayCaps.platformHeight\r\n- 110;

\r\n

Crashes and gives an \"undefined\" error.

\r\n

Update: FIXED

{html}", "attachment": [], "flagged": false, "summary": "Android: Platform - displayCaps.platformHeight is undefined", "creator": { "name": "ianhawes", "key": "ianhawes", "displayName": "Ian Hawes", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ianhawes", "key": "ianhawes", "displayName": "Ian Hawes", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "128570", "author": { "name": "stinkypickle", "key": "stinkypickle", "displayName": "StinkyPickle", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Mind telling us how you fixed this? I'm having the same\nproblem...

{html}", "updateAuthor": { "name": "stinkypickle", "key": "stinkypickle", "displayName": "StinkyPickle", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:46.000+0000", "updated": "2011-04-15T03:20:46.000+0000" }, { "id": "128571", "author": { "name": "stinkypickle", "key": "stinkypickle", "displayName": "StinkyPickle", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Oh, I think I've sorted it. I just needed to do a full rebuild\nby touching the tiapp.xml file.

{html}", "updateAuthor": { "name": "stinkypickle", "key": "stinkypickle", "displayName": "StinkyPickle", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:46.000+0000", "updated": "2011-04-15T03:20:46.000+0000" }, { "id": "128572", "author": { "name": "daniyal", "key": "daniyal", "displayName": "daniyal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I, too, get the same Run-time error which said:

\n

\"Cannot read property from displayCaps from undefined\"

\n

Forcing a full rebuild by editing tiapp.xml file solved the\nproblem as mentioned by StinkyPickle, but this issue needs to be\nsolved perhaps?

{html}", "updateAuthor": { "name": "daniyal", "key": "daniyal", "displayName": "daniyal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:46.000+0000", "updated": "2011-04-15T03:20:46.000+0000" }, { "id": "128573", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning to Don for triage.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:20:47.000+0000", "updated": "2011-04-15T03:20:47.000+0000" }, { "id": "130908", "author": { "name": "zipcar", "key": "zipcar", "displayName": "Goss Nuzzo-Jones (Zipcar)", "active": true, "timeZone": "America/New_York" }, "body": "This is occurring quite frequently for me, I'm not sure I understand the workaround.", "updateAuthor": { "name": "zipcar", "key": "zipcar", "displayName": "Goss Nuzzo-Jones (Zipcar)", "active": true, "timeZone": "America/New_York" }, "created": "2011-04-18T07:31:27.000+0000", "updated": "2011-04-18T07:31:27.000+0000" }, { "id": "178441", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Note the case, ie {{displayCaps}} rather than {{DisplayCaps}}", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-06T20:42:32.000+0000", "updated": "2012-01-06T20:42:32.000+0000" }, { "id": "178442", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Correction - on Android 1.8.0.1 both work - on iOS, case matters.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-06T20:45:19.000+0000", "updated": "2012-01-06T20:45:19.000+0000" }, { "id": "179856", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "As per the user's update in the description, this was fixed. For anyone experiencing this, please verify that you are using {{displayCaps}} rather than {{DisplayCaps}}.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-01-19T06:05:03.000+0000", "updated": "2012-01-19T06:05:03.000+0000" }, { "id": "179911", "author": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with 1.9.0.v20120117114633 on Droid 3 2.3.4", "updateAuthor": { "name": "nhuynh", "key": "nhuynh", "displayName": "Natalie Huynh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-01-19T13:06:36.000+0000", "updated": "2012-01-19T13:06:36.000+0000" }, { "id": "180227", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Updating tags", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-01-23T13:18:34.000+0000", "updated": "2012-01-23T13:18:34.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }