{ "id": "99641", "key": "TIMOB-10793", "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": "15418", "description": "2013 Sprint 09 API", "name": "2013 Sprint 09 API", "archived": true, "released": true, "releaseDate": "2013-05-06" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-05-01T18:12:21.000+0000", "created": "2012-08-22T23:48:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "api", "community", "exalture", "module_tableviewrow", "qe-testadded" ], "versions": [ { "id": "14096", "description": "Release 2.1.2", "name": "Release 2.1.2", "archived": true, "released": true, "releaseDate": "2012-08-31" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [], "assignee": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "updated": "2013-10-14T11:00:08.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": "Bug: Cannot remove child view from inside TableViewRow\r\n2 cases\r\nA: .remove() View inside TableViewRow - Crash ( http://pastie.org/4572849 )\r\nB: .remove() View nested in View inside TableViewRow - No Crash, but no effect\r\n\r\nThe same works fine on iOS.", "attachment": [ { "id": "30673", "filename": "app.js", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2012-08-22T23:48:10.000+0000", "size": 1554, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "Android: Cannot remove child view from inside TableViewRow", "creator": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "environment": "Android: 4.1, 2.3.3\r\nSDK: 2.1.2.v20120821160113, 2.1.1GA\r\n", "comment": { "comments": [ { "id": "217727", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "There is no method as \"remove\" for a tableviewrow as can be confirmed from the docs here: http://docs.appcelerator.com/titanium/2.1/index.html#!/api/Titanium.UI.TableViewRow\r\n\r\n", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-05T16:30:49.000+0000", "updated": "2012-09-05T16:30:49.000+0000" }, { "id": "217773", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "Um. The page you link to clearly has a remove method listed. So please explain you comment?\r\n\r\nAlso, even if tableviewrow didn't have remove method, notice case #2, where remove is being called on a view, not a tableviewrow. \r\n", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-05T23:13:47.000+0000", "updated": "2012-09-05T23:13:47.000+0000" }, { "id": "217774", "author": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "body": "Hi Mitchell,\r\n\r\nYou are correct. I meant that the \"remove\" method takes a Ti.UI.View parameter and not a Ti.UI.TableViewRow. However, I did the same test for the iOS and remove did work. I will move it to a TIMOB ticket for Android.\r\n\r\nThanks,\r\nVarun ", "updateAuthor": { "name": "vjoshi", "key": "vjoshi", "displayName": "Varun Joshi", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-05T23:22:43.000+0000", "updated": "2012-09-05T23:22:43.000+0000" }, { "id": "217775", "author": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "body": "thanks varun.", "updateAuthor": { "name": "meeech", "key": "meeech", "displayName": "Mitchell Amihod", "active": true, "timeZone": "America/New_York" }, "created": "2012-09-05T23:25:51.000+0000", "updated": "2012-09-05T23:25:51.000+0000" }, { "id": "242652", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "case A: crash\n\ncase B: works fine\n\nin iOS A,B works fine\n\nIssue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 (03/11/13 15:43 0c88429)\nTitanium SDK version: 3.0.2 (02/07/13 16:46 a4def81)\nDevice: Samsung galaxy s duos Android version: 4.0.4\niOS iPhone Simulator: iOS SDK version: 6.0\n\njithinpv\n \n", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T13:12:37.000+0000", "updated": "2013-03-18T13:12:37.000+0000" }, { "id": "248762", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Cleanup the views collection if the row was a normal row before the old style row controls are created.\r\n\r\nhttps://github.com/appcelerator/titanium_mobile/pull/4209", "updateAuthor": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-04-23T15:47:43.000+0000", "updated": "2013-04-23T15:47:43.000+0000" }, { "id": "274943", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified Both the Cases A and B. App does not crash\r\n\r\nVerified the fix on:\r\nDevice : Google Nexus 7, Android Version: 4.3\r\nSDK: 3.2.0.v20131013140318\r\nCLI version : 3.2.0\r\nOS : MAC OSX 10.8.4\r\nAlloy : 1.2.2\r\nAppcelerator Studio, build: 3.2.0.201310112258\r\nXCode : 5", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-10-14T10:59:51.000+0000", "updated": "2013-10-14T10:59:51.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }