{ "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\n\r\n

Repro steps rely on (currently pending) fix for #1330

{html}", "attachment": [], "flagged": false, "summary": "Row/section indexes not updated after \"delete\"", "creator": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129324", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:28:34.000+0000", "updated": "2011-04-15T03:28:34.000+0000" }, { "id": "129325", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "{html}

Similar problem when editing rows. Explanation and example in\nHD\nTicket #ZNK-28616-794.

\n

After moving rows around, the index is not updated.

\n

Ti SDK 1.6.2
\niOS 4.2 and 4.3

{html}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:28:34.000+0000", "updated": "2011-04-15T03:28:34.000+0000" }, { "id": "129326", "author": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

\n

Basically, this line of Objective-C code in TiUITableViewProxy.m\n> insertRowBefore: should be changed FROM:

\n

newrow.row = row.row == 0 ? 0 : row.row - 1;

\n

TO:

\n

newrow.row = row.row == 0 ? 0 : row.row;

{html}", "updateAuthor": { "name": "gerrycardinaliii", "key": "gerrycardinaliii", "displayName": "Gerry Cardinal III", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:28:35.000+0000", "updated": "2011-04-15T03:28:35.000+0000" }, { "id": "162348", "author": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This problem no longer exists, fixed during another checkin.", "updateAuthor": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-09T23:21:25.000+0000", "updated": "2011-08-09T23:21:25.000+0000" }, { "id": "416161", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T16:16:53.000+0000", "updated": "2017-03-29T16:16:53.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }