{ "id": "121365", "key": "TIMOB-15536", "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": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-09-25T23:42:41.000+0000", "created": "2013-10-18T11:04:55.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "SupportTeam", "qe-automatedtest" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "32692", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "106054", "key": "TIMOB-13401", "fields": { "summary": "iOS 6: insertRowBefore uses animation with animated set to false and animationStyle set to none", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-01-09T17:23:18.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": "deleteRow animationStyle doesn't work properly if the statement comes after changing the hasCheck property of the TableViewRow.\r\n\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow();\r\nvar tableView = Ti.UI.createTableView();\r\n\r\nvar removeThirdRow = Ti.UI.createTableViewRow({title: \"Remove third row\"}),\r\n\taddNewRow = Ti.UI.createTableViewRow({title: \"Add new row\"}),\r\n\tlastOne = Ti.UI.createTableViewRow({title: \"... ... ...\"});\r\n\r\ntableView.data = [removeThirdRow, addNewRow, lastOne];\r\n\r\n\r\nwin.add(tableView);\r\nwin.open();\r\n\r\n\r\ntableView.addEventListener(\"click\", function(e){\r\n\tif(e.rowData.title == \"Remove third row\")\r\n\t{\r\n\t\tremoveThirdRow.hasCheck = true;\r\n\t\taddNewRow.hasCheck = false;\r\n\t\ttableView.deleteRow(2, {animationStyle: Ti.UI.iPhone.RowAnimationStyle.LEFT});\r\n /* ===> THIS DOES WORK\r\n tableView.deleteRow(2, {animationStyle: Ti.UI.iPhone.RowAnimationStyle.LEFT});\r\n removeThirdRow.hasCheck = true;\r\n addNewRow.hasCheck = false;\r\n */\r\n\t}\r\n\telse\r\n\t{\r\n\t\taddNewRow.hasCheck = true;\r\n\t\tremoveThirdRow.hasCheck = false;\r\n\t\ttableView.appendRow(Ti.UI.createTableViewRow({title: \"New Row\"}), {animationStyle: Ti.UI.iPhone.RowAnimationStyle.RIGHT});\r\n\t}\r\n});\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS7: TableView.deleteRow() animationStyle doesn't work properly if called after setting hasCheck()", "creator": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS7, 3.1.3.GA", "comment": { "comments": [ { "id": "275865", "author": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "sko", "key": "sko", "displayName": "Matej", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-20T17:10:46.000+0000", "updated": "2013-10-20T17:10:46.000+0000" }, { "id": "324662", "author": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue exist with 3.1.3 but can't reproduce on 3.4.0 \r\nAppcelerator Studio, build: 3.3.0.201407111535 \r\nTiSDK 3.4.0 \r\niOS : 7.0 \r\nTitanium Command-Line Interface, CLI version 3.3.0", "updateAuthor": { "name": "shameerj", "key": "shameerj", "displayName": "Shameer Jan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-19T06:20:56.000+0000", "updated": "2014-09-19T06:20:56.000+0000" }, { "id": "325772", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified fix on:\r\n\r\nMac OSX 10.9.4\r\nAppcelerator Studio, build: 3.4.0.201409231834\r\nTitanium SDK build: 3.4.0.v20140925154326\r\nTitanium CLI, build: 3.4.0-rc4\r\nAlloy: 1.5.0-rc5\r\nXcode6.0.1\r\niPhone 6 (8.0)\r\n\r\nWhen deleteRow() is called after hasCheck has been set, the animation is displayed correctly and matches when the reverse happens.\r\n\r\nClosing ticket.", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-25T23:41:55.000+0000", "updated": "2014-09-25T23:41:55.000+0000" }, { "id": "325773", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Reopening to fix tester field", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2014-09-25T23:42:30.000+0000", "updated": "2014-09-25T23:42:30.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }