{ "id": "94969", "key": "TIMOB-9945", "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": "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": "2017-06-19T20:55:10.000+0000", "created": "2012-07-11T16:20:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api", "qe-testadded" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "18709", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "86227", "key": "TIMOB-8472", "fields": { "summary": "Android: setting backgroundImage of TableViewRow to null or empty string crashes app", "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": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-19T20:55:10.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": "Description:\r\nClicking in order at rows pulls down background image from 1st row to the 2nd, when 2nd row should not have the background image. It happens if rows are clicked in order second time.\r\n\r\nSteps to reproduce:\r\n1. Run the following code:\r\n{code}\r\nvar win1 = Ti.UI.createWindow({ \r\n backgroundColor:'black'\r\n});\r\n \r\nvar TheListBox=Ti.UI.createTableView({width:'auto'});\r\n\r\nvar BIRow=Ti.UI.createTableViewRow({\r\n\tcolor:'red',\r\n\tbackgroundColor:\"transparent\",\r\n\ttitle:'No background image...click to toggle'\r\n });\r\n \r\n \r\nvar BIRow2=Ti.UI.createTableViewRow({\r\n\tcolor:'red',\r\n\tbackgroundColor:\"transparent\",\r\n\ttitle:'No background image...click to toggle'\r\n });\r\n \r\n \r\nBIRow.addEventListener('click',function()\r\n//function ToggleBI()\r\n{\r\n if (!BIRow.backgroundImage)\r\n {\r\n BIRow.backgroundImage='appicon.png';\r\n BIRow.title='Titanium background image...click to toggle';\r\n }\r\n else \r\n {\r\n //BIRow.backgroundImage=null; // 1st test...NullPointerException\r\n BIRow.backgroundImage=''; // 2nd test...lockup/freeze...crash on next click\r\n BIRow.title='No background image...click to toggle';\r\n }\r\n});\r\n\r\nBIRow2.addEventListener('click',function()\r\n//function ToggleBI2()\r\n{\r\n if (!BIRow2.backgroundImage)\r\n {\r\n BIRow2.backgroundImage='KS_nav_ui.png';\r\n BIRow2.title='Titanium background image...click to toggle';\r\n }\r\n else \r\n {\r\n BIRow2.backgroundImage=null; // 1st test...NullPointerException\r\n //BIRow2.backgroundImage=''; // 2nd test...lockup/freeze...crash on next click\r\n BIRow2.title='No background image...click to toggle';\r\n }\r\n});\r\n\r\nTheListBox.appendRow(BIRow);\r\nTheListBox.appendRow(BIRow2);\r\nwin1.open();\r\nwin1.add(TheListBox);\r\n{code}\r\n2. Click in order on first and second rows 2 times\r\n\r\nExpected result:\r\nAfter second click on second row there should be no background image\r\n\r\nActual result:\r\nBackground image from first row appears in second row\r\n", "attachment": [ { "id": "29241", "filename": "iOS Simulator Screen shot Jul 11, 2012 4.17.39 PM.png", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-11T16:20:45.000+0000", "size": 20910, "mimeType": "image/png" } ], "flagged": false, "summary": "iOS: TableViewRow - Clicking in order at rows pulls down background image from 1st row to the 2nd", "creator": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio, build: 2.1.1.201207101322\r\nTitanium SDK: 2.1.0.GA and 2.1.1.v20120705143056\r\nMac OS 10.7.3\r\niPhone 5.1 Simulator", "comment": { "comments": [ { "id": "244442", "author": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Issue reproduces \n\nTested with\n\nTitanium Studio, build: 3.0.1.201212181159\nTitanium SDK version: 3.1.0 \nTitanium SDK version: 3.0.2 \niOS iPhone Simulator: iOS SDK version: 6.0", "updateAuthor": { "name": "jithinv@exalture.com", "key": "jithinv@exalture.com", "displayName": "jithinpv", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-28T08:40:46.000+0000", "updated": "2013-03-28T08:40:46.000+0000" }, { "id": "422302", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am unable to reproduce this issue with the following environment;\r\niPhone 7 (10.2)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.1.1.v20170609091155\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.1\r\nTi CLI 5.0.13\r\nAlloy 1.9.11\r\nArrow 2.0.0\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-19T20:55:10.000+0000", "updated": "2017-06-19T20:55:10.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }