{ "id": "62785", "key": "TIMOB-2153", "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": "11234", "name": "Release 1.6.0 M01", "archived": true, "released": true, "releaseDate": "2010-12-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:15.000+0000", "created": "2011-04-15T03:12:08.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "android_refactor", "defect", "logging", "regression", "release-1.6.0", "unicode" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:15.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}

1.5.0.70ce98 g2 running 2.2, G1 running 1.6, sim 2.2.

\n

1.BaseUI>Views>Web Views>Logging and Unicode
\n2.Check adb output

\n

results:
\nE/Web Console(15156): Uncaught ReferenceError: TiAPI is not defined\nat :3
\nE/Web Console(15156): Uncaught TypeError: Cannot read property\n'API' of undefined at\nfile:///android_asset/Resources/examples/webview_logging.html:5

\n

test results do not appear.

{html}", "attachment": [], "flagged": false, "summary": "Android: Logging and unicode test fails (cannot read property)", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127662", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

this doesn't seem to occur anymore. Please re-open if you can\nget it to fail and what else I need to do to recreate it.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:09.000+0000", "updated": "2011-04-15T03:12:09.000+0000" }, { "id": "127663", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hey Don, poorly written bug.

\n

1.plug into adb
\n2.run the test at BaseUI>Views>Web Views>Logging and\nUnicode

\n

note results:

\n

E/Web Console( 2446): Uncaught TypeError: Cannot read property\n'API' of undefined at\nfile:///android_asset/Resources/examples/webview_logging.html:5
\nD/TiAPI ( 2446): (kroll$6) [754,16730] webview loaded:\nfile:///android_asset/Resources/examples/webview_logging.html

\n

the test results appear as expected on the device, but not via\nadb logcat

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:09.000+0000", "updated": "2011-04-15T03:12:09.000+0000" }, { "id": "127664", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.5.1 as per Don

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:09.000+0000", "updated": "2011-04-15T03:12:09.000+0000" }, { "id": "127665", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [12d7bf6a90db72fa0aebe538c95128c8a0cdc625])\nInject our Ti JS and JSON near beginning of local (and ONLY local)\nhtml file contents or html set directly via the html property.\n[#2153 state:fixed-in-qa][#2514\nstate:fixed-in-qa][#1635 state:fixed-in-qa][#1036\nstate:fixed-in-qa] \nhttps://github.com/appcelerator/titanium_mobile/commit/12d7bf6a90db...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:12:10.000+0000", "updated": "2011-04-15T03:12:10.000+0000" }, { "id": "127666", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [a18707e021fcf0d46f8c3809ae20bc5b2da47e2c])\n[#2153] Drillbit unit test to be sure Titanium/Ti\nare available in local html files loaded in webview\n\nhttps://github.com/appcelerator/titanium_mobile/commit/a18707e021fc...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:12:10.000+0000", "updated": "2011-04-15T03:12:10.000+0000" }, { "id": "127667", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [ea173edf09a19db3d02ff1cca7af32be089cfeb4])\n[#2153] Drillbit unit test to be sure Titanium/Ti\nare available in webview after manually setting .html\nproperty \nhttps://github.com/appcelerator/titanium_mobile/commit/ea173edf09a1...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:12:10.000+0000", "updated": "2011-04-15T03:12:10.000+0000" }, { "id": "127668", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Titanium SDK version: 1.6.0 (12/21/10 13:46 8a96481) g2 (2.2)\n2.1 sim

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:11.000+0000", "updated": "2011-04-15T03:12:11.000+0000" }, { "id": "127669", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [6acef0763be05a72fd1d85cfd999f3d5a5bdd851])\n[#2153] In drillbit test, omit the cleanup\nw.close as it causes intermittent seg faults in android 1.6\n\nhttps://github.com/appcelerator/titanium_mobile/commit/6acef0763be0...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:12:11.000+0000", "updated": "2011-04-15T03:12:11.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }