{ "id": "169003", "key": "TIMOB-24981", "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": "2017-08-02T13:15:25.000+0000", "created": "2017-07-18T12:48:24.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android" ], "versions": [], "issuelinks": [ { "id": "55451", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "168742", "key": "TIMOB-24926", "fields": { "summary": "Android: Prevent fireEvent when proxy has been released", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-08-02T17:37:43.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": "If I try to remove a TableView that has a TableViewRow with an ImageView the app will crash.\r\nThis bug affects sdk 6.1.1GA, I have tried to run this snippet on 6.0.4GA and it works without errors.\r\n\r\n\r\n{code:java}\r\nvar win = Ti.UI.createWindow();\r\n\r\nvar tblRow = Ti.UI.createTableViewRow({\r\n\tbackgroundColor:\"green\"\t,\r\n\theight:30\r\n});\r\n\r\nvar tbl = Ti.UI.createTableView({\r\n\theight:100,\r\n\ttop:10,\r\n\tleft:10,\r\n\tright:10,\r\n\tdata:[tblRow],\r\n\tbackgroundColor:\"red\"\r\n});\r\n\r\nvar imgView = Ti.UI.createImageView({\r\n\timage: \"https://www.appcelerator.com/wp-content/themes/appc-rwd/assets/media/images/axway-logo.png\",\r\n\twidth:20,\r\n\theight:20\r\n});\r\n\r\nvar removeButton = Ti.UI.createButton({\r\n\ttitle:\"REMOVE TABLE\",\r\n\theight:50,\r\n\twidth:150\r\n});\r\n\r\nremoveButton.addEventListener(\"click\",function(){\r\n\twin.remove(tbl);\r\n});\r\n\r\ntblRow.add(imgView);\r\nwin.add(tbl);\r\nwin.add(removeButton);\r\n\r\nwin.open();\r\n{code}\r\n", "attachment": [ { "id": "62897", "filename": "errors.txt", "author": { "name": "grazianogrespan", "key": "grazianogrespan", "displayName": "grazianogrespan", "active": true, "timeZone": "Europe/Rome" }, "created": "2017-07-18T12:34:42.000+0000", "size": 3423, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android: .remove() TableView object with ImageViews crashes the app.", "creator": { "name": "grazianogrespan", "key": "grazianogrespan", "displayName": "grazianogrespan", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "grazianogrespan", "key": "grazianogrespan", "displayName": "grazianogrespan", "active": true, "timeZone": "Europe/Rome" }, "environment": "The bug has been tested only on Android.\r\nSDK: 6.1.1GA\r\nMacOs Sierra", "closedSprints": [ { "id": 933, "state": "closed", "name": "2017 Sprint 16 SDK", "startDate": "2017-07-30T16:17:10.306Z", "endDate": "2017-08-13T16:17:00.000Z", "completeDate": "2017-08-13T23:06:34.398Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "424459", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-20T17:31:28.000+0000", "updated": "2017-07-20T17:31:28.000+0000" }, { "id": "425261", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-02T13:15:25.000+0000", "updated": "2017-08-02T13:15:25.000+0000" }, { "id": "425288", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-08-02T17:37:43.000+0000", "updated": "2017-08-02T17:37:43.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }