{ "id": "62711", "key": "TIMOB-2079", "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": "11230", "name": "Release 1.5.0 M05", "archived": true, "released": true, "releaseDate": "2010-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:01.000+0000", "created": "2011-04-15T03:09:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "error", "regression", "runtime" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:01.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}
g1 running 1.6 and the sim running 2.2 Ti Mobile sdk\n1.5.0.02c264.
\n1.Phone>sound>any test case
\nresults: runtime errors on load
E/KrollContext( 7843): (kroll$8) [2437,96278] ECMA Error\nevaluating source: TypeError: Cannot find function setToolbar in\nobject [Ti.UI.Window]. (app://examples/sound_file.js#167)
\nE/KrollContext( 7843): org.mozilla.javascript.EcmaError: TypeError:\nCannot find function setToolbar in object [Ti.UI.Window].\n(app://examples/sound_file.js#167)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollContext( 7843): at\nscript(app://examples/sound_file.js:167)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.Context.evaluateReader(Context.java:1142)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollContext.evaluateScript(Unknown\nSource)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollContext.handleEvalFile(Unknown\nSource)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollContext.handleMessage(Unknown\nSource)
\nE/KrollContext( 7843): at\nandroid.os.Handler.dispatchMessage(Handler.java:95)
\nE/KrollContext( 7843): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown\nSource)
This is actually a test defect. Calling an iPhone only method.\nWe're going to start getting out of providing dummy methods for\niPhone especially since it makes it harder on the end user when\nthey don't see the code in the test and iPhone doesn't do the same\nfor Android or BB features. It just won't scale.
Assigning to Ralf right now until we can figure the general\nproblem out.
I am assigning to Don to take the action to modify the KS such\nthat Android (and IOS) does not fail
Not yet working on it.
(from [43358e5f7b4bb194f79e343398f648008b353293])\n-[#2079] fixed examples, local sound has a path\nproblem to look at still \nhttps://github.com/appcelerator/titanium_mobile/commit/43358e5f7b4b...
Fixed with the patch last night. Fixing this exposed the Android\nequivalent of #1913 entered new bug #2544 for\nAndroid.
Titanium SDK version: 1.5.0 (12/10/10 08:19 f37ab6c) G2\n(2.2)