{ "id": "62749", "key": "TIMOB-2117", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-02-29T15:31:13.000+0000", "created": "2011-04-15T03:10:54.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [], "issuelinks": [ { "id": "15459", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "86500", "key": "TIMOB-7660", "fields": { "summary": "iOS: Moving rows between sections & hard crash", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "13063", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "81113", "key": "TIMOB-5430", "fields": { "summary": "Moving rows to an empty Section and then back in a Tableview causes crash", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:19:27.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}

When you move an item to an empty category in Tableview crashes\r\nthe application.

\r\n

See sample code above:

\r\n
\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar Data = [\r\n    {header:'A',title:\"test 1\"},\r\n    {title:\"test 2\"},\r\n    {header:'B',title:\"test 3\"},\r\n    {header:'C',title:\"test 4\"},\r\n    {title:\"test 5\"}\r\n];\r\n\r\nvar Table = Ti.UI.createTableView({\r\n    style: Ti.UI.iPhone.TableViewStyle.PLAIN,\r\n    editable:true,\r\n    moveable:true,\r\n    data:Data\r\n});\r\n\r\nTable.editing = true;\r\n\r\nwin.add(Table);\r\nwin.open();\r\n
\r\n

Now run this code, Drag the \"test 3\" to outsite of \"B\" and then\r\ndrag ANY item to inside \"B\". The App will CRASH.

{html}", "attachment": [], "flagged": false, "summary": "Move itens to a blank Header in TableView on Edit crash App. ", "creator": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "adriano", "key": "adriano", "displayName": "Adriano Paladini", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "127551", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

You'll have to shuffle around rows a bit more than in the bug\ndescription, but this is valid.

{html}", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:10:55.000+0000", "updated": "2011-04-15T03:10:55.000+0000" }, { "id": "415113", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate and links to the related ticket have been provided above.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:19:27.000+0000", "updated": "2017-03-22T22:19:27.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }