{ "id": "62706", "key": "TIMOB-2074", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:00.000+0000", "created": "2011-04-15T03:09:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "android_refactor", "error", "regression", "runtime" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:00.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}

tests cases include Insert Row, update Row, remove all rows

\n

1.BaseUI>Views>Table Views>Insert Row
\n2.tap the insert row below -1 row item

\n

results:runtime error.

\n

KrollCallback( 8938): (kroll$6) [12477,754061] ECMA Error\nevaluating source, invocation: [callMethod\nUI.TableView.UI.TableView:event:click null], message: TypeError:\nCannot find function getIndexByName in object [Ti.UI.TableView].\n(app://examples/table_view_row_insert.js#42)
\nE/KrollCallback( 8938): org.mozilla.javascript.EcmaError:\nTypeError: Cannot find function getIndexByName in object\n[Ti.UI.TableView]. (app://examples/table_view_row_insert.js#42)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollCallback( 8938): at\nscript(app://examples/table_view_row_insert.js:42)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollCallback( 8938): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
\nE/KrollCallback( 8938): at\norg.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown\nSource)
\nE/KrollCallback( 8938): at\nandroid.os.Handler.handleCallback(Handler.java:587)
\nE/KrollCallback( 8938): at\nandroid.os.Handler.dispatchMessage(Handler.java:92)
\nE/KrollCallback( 8938): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollCallback( 8938): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown\nSource)

{html}", "attachment": [], "flagged": false, "summary": "Android: runtime errors on Table view test cases when changing row values (getIndexByName) ", "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": "127415", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [70d9d0aaec575354a41d04d165d9286b51041842])\nexpose TableView.getIndexByName [#2074\nstatus:fixed-in-qa] \nhttp://github.com/appcelerator/titanium_mobile/commit/70d9d0aaec575...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:44.000+0000", "updated": "2011-04-15T03:09:44.000+0000" }, { "id": "127416", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

G2 2.2 mobile sdk 1.5.0.2c1cae

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