{ "id": "62793", "key": "TIMOB-2161", "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": "11226", "name": "Release 1.5.0 M01", "archived": true, "released": true, "releaseDate": "2010-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:17.000+0000", "created": "2011-04-15T03:12:24.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "android_refactor", "facebook", "mashup", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:17.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.Mashups> Facebook
\n2.Log in, then do the query test or properties test

\n

results: runtime error:
\nE/KrollCallback(17712): (kroll$6) [97,58043] ECMA Error evaluating\nsource, invocation: [callMethod UI.Button.UI.Button:event:click\nnull], message: TypeError: Cannot find function setRightNavButton\nin object [Ti.UI.Window]. (app://examples/facebook_query.js#36)
\nE/KrollCallback(17712): org.mozilla.javascript.EcmaError:\nTypeError: Cannot find function setRightNavButton in object\n[Ti.UI.Window]. (app://examples/facebook_query.js#36)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollCallback(17712): at\nscript.runQuery(app://examples/facebook_query.js:36)
\nE/KrollCallback(17712): at\nscript(app://examples/facebook_query.js:129)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollCallback(17712): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
\nE/KrollCallback(17712): at\norg.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:97)
\nE/KrollCallback(17712): at\nandroid.os.Handler.handleCallback(Handler.java:587)
\nE/KrollCallback(17712): at\nandroid.os.Handler.dispatchMessage(Handler.java:92)
\nE/KrollCallback(17712): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollCallback(17712): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)
\nD/PowerManagerService( 1435): New lightsensor value:320,\nlcdValue:160
\nD/PowerManagerService( 1435): lightSensorChangedLocked, buttonValue\n>= 0, mPowerState = 3
\nD/dalvikvm(16206): GC_EXPLICIT freed 9810 objects / 879184 bytes in\n807ms
\nD/dalvikvm( 1533): GC_EXPLICIT freed 718 objects / 89928 bytes in\n1246ms
\nD/dalvikvm( 1532): GC_FOR_MALLOC freed 10543 objects / 525160 bytes\nin 112ms
\nD/dalvikvm( 1600): GC_EXPLICIT freed 474 objects / 121056 bytes in\n819ms
\nD/dalvikvm( 2472): GC_EXPLICIT freed 4 objects / 112 bytes in\n595ms
\nD/PowerManagerService( 1435): New lightsensor value:160,\nlcdValue:160
\nD/PowerManagerService( 1435): lightSensorChangedLocked, buttonValue\n>= 0, mPowerState = 3
\nD/PowerManagerService( 1435): New lightsensor value:320,\nlcdValue:160
\nD/PowerManagerService( 1435): lightSensorChangedLocked, buttonValue\n>= 0, mPowerState = 3

{html}", "attachment": [], "flagged": false, "summary": "Android: Facebook query/properites runtime error (setrightnavbutton) ", "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": "127695", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is a KitchenSink test problem.

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

(from [9fba2f7d838dc27e5994dabe38cc943ee8470709])\n[#2161 state:fixed-in-qa] wrapped iPhone only\nfeatures. Removed old code for ImageView because Android supports\nthe image property now. Also limited the query to 20 results. If\nyou have a big facebook account it takes forever to get through\nthem all. \nhttps://github.com/appcelerator/titanium_mobile/commit/9fba2f7d838d...

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

1.5.0.fb4b340. G2 (2.2) 2.1 emulator

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:12:25.000+0000", "updated": "2011-04-15T03:12:25.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }