[TIMOB-2074] Android: runtime errors on Table view test cases when changing row values (getIndexByName)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:00.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, android_refactor, error, regression, runtime |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:09:43.000+0000 |
Updated | 2011-04-17T01:58:00.000+0000 |
Description
tests cases include Insert Row, update Row, remove all rows
1.BaseUI>Views>Table Views>Insert Row
2.tap the insert row below -1 row item
results:runtime error.
KrollCallback( 8938): (kroll$6) [12477,754061] ECMA Error
evaluating source, invocation: [callMethod
UI.TableView.UI.TableView:event:click null], message: TypeError:
Cannot find function getIndexByName in object [Ti.UI.TableView].
(app://examples/table_view_row_insert.js#42)
E/KrollCallback( 8938): org.mozilla.javascript.EcmaError:
TypeError: Cannot find function getIndexByName in object
[Ti.UI.TableView]. (app://examples/table_view_row_insert.js#42)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
E/KrollCallback( 8938): at
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
E/KrollCallback( 8938): at
script(app://examples/table_view_row_insert.js:42)
E/KrollCallback( 8938): at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollCallback( 8938): at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollCallback( 8938): at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollCallback( 8938): at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/KrollCallback( 8938): at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/KrollCallback( 8938): at
org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown
Source)
E/KrollCallback( 8938): at
android.os.Handler.handleCallback(Handler.java:587)
E/KrollCallback( 8938): at
android.os.Handler.dispatchMessage(Handler.java:92)
E/KrollCallback( 8938): at
android.os.Looper.loop(Looper.java:123)
E/KrollCallback( 8938): at
org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown
Source)
(from [70d9d0aaec575354a41d04d165d9286b51041842]) expose TableView.getIndexByName [#2074 status:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/70d9d0aaec575354a41d04d165d9286b51041842"> http://github.com/appcelerator/titanium_mobile/commit/70d9d0aaec575...
G2 2.2 mobile sdk 1.5.0.2c1cae