{ "id": "63383", "key": "TIMOB-2751", "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": "11364", "description": "Mobile 1.8.0 M11", "name": "Sprint 2011-32", "archived": true, "released": true, "releaseDate": "2011-08-15" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2011-08-09T23:21:25.000+0000", "created": "2011-04-15T03:28:33.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "edit", "index", "tableview" ], "versions": [ { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" } ], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T16:16:53.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
Just what it says. Not visible when interacting with the\r\ntableview via regular means, but any method which requires getting\r\nthe row index to compute the NSIndexPath will be affected. Behavior\r\nis visible in KS by:
\r\nRepro steps rely on (currently pending) fix for #1330
This is no longer a super-priority due to the fact that my\ncommitted #1330 fix doesn't rely on internal row numbers.\nCan wait for a while, and will probably be nuked as part of a\ntableview rewrite to rely on different types of indexing.
Similar problem when editing rows. Explanation and example in\nHD\nTicket #ZNK-28616-794.
\nAfter moving rows around, the index is not updated.
\nTi SDK 1.6.2
\niOS 4.2 and 4.3
Whoever works on this and related table view tickets, please fix\nor confirm that the issue in this ticket is fixed:
\nhttp://support.appcelerator.com/tickets/MMY-57876-424
Basically, this line of Objective-C code in TiUITableViewProxy.m\n> insertRowBefore: should be changed FROM:
\nnewrow.row = row.row == 0 ? 0 : row.row - 1;
\nTO:
\nnewrow.row = row.row == 0 ? 0 : row.row;