Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2075] Android: Email Dialog generates runtime error (setSubject)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:00.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, android_refactor, error, regression, runtime
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:09:45.000+0000
Updated2011-04-17T01:58:00.000+0000

Description

g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264.

1.BaseUI>Views>email Dialog

results: runtime error

E/KrollCallback( 8965): (kroll$5) [1617,19877] ECMA Error evaluating source, invocation: [callMethod Media.(anonymous) org.appcelerator.titanium.kroll.KrollCallback@439b6ba8], message: TypeError: Cannot find function setSubject in object [Ti.UI.EmailDialog]. (app://examples/email_dialog.js#16)
E/KrollCallback( 8965): org.mozilla.javascript.EcmaError: TypeError: Cannot find function setSubject in object [Ti.UI.EmailDialog]. (app://examples/email_dialog.js#16)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
E/KrollCallback( 8965): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
E/KrollCallback( 8965): at script(app://examples/email_dialog.js:16)
E/KrollCallback( 8965): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollCallback( 8965): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollCallback( 8965): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollCallback( 8965): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/KrollCallback( 8965): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/KrollCallback( 8965): at org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown Source)
E/KrollCallback( 8965): at android.os.Handler.handleCallback(Handler.java:587)
E/KrollCallback( 8965): at android.os.Handler.dispatchMessage(Handler.java:92)
E/KrollCallback( 8965): at android.os.Looper.loop(Looper.java:123)
E/KrollCallback( 8965): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown Source)

Comments

  1. Marshall Culpepper 2011-04-15

    (from [ee1acf27661e5ae83eae9cc2f3826d48ff175af5]) new annotation to declare generating getters/setters for dynamic properties. fixes for module / proxy inheritance in binding, expose email dialog accessors [#2075 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/ee1acf27661e5ae83eae9cc2f3826d48ff175af5"> http://github.com/appcelerator/titanium_mobile/commit/ee1acf27661e5...

  2. Thomas Huelbert 2011-04-15

    G2 2.2 mobile sdk 1.5.0.2c1cae

JSON Source