{ "id": "103146", "key": "TIMOB-11390", "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": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14165", "description": "2012 Sprint 21 API", "name": "2012 Sprint 21 API", "archived": true, "released": true, "releaseDate": "2012-10-22" }, { "id": "14273", "description": "2012 Sprint 21", "name": "2012 Sprint 21", "archived": true, "released": true, "releaseDate": "2012-10-22" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-10-11T23:22:56.000+0000", "created": "2012-10-11T18:39:04.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "api", "module_tableviewrow", "qe-and100112", "qe-testadded", "regression" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "21922", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "63544", "key": "TIMOB-2912", "fields": { "summary": "iOS: TableViewRow content disappear after window close and open", "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": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-11-06T17:42: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": "Description:\r\nTableViewRows data is missing and appears only after device is rotated to different mode. During rotation the window should be open.\r\n\r\nThis is a regression, does not occur on 2.1.3.\r\n\r\nSteps:\r\n1. Run the following code:\r\n{code}\r\nTitanium.UI.setBackgroundColor('#333');\r\n\r\nvar page2 = Titanium.UI.createWindow({ \r\n title:'page2',\r\n backgroundColor:'#fff'\r\n});\r\n\r\nvar data = [];\r\n\r\nvar listTable = Titanium.UI.createTableView({});\r\n\r\nfor(var indice=0; indice<15; indice++) {\r\n\r\n var row = Titanium.UI.createTableViewRow();\r\n\r\n var img = Titanium.UI.createImageView({\r\n image:'KS_nav_ui.png',\r\n width:50,\r\n height:50,\r\n left:0,\r\n top:0\r\n });\r\n\r\n var label = Titanium.UI.createLabel({\r\n text:indice,\r\n font:{fontSize:14},\r\n textAlign:'center',\r\n borderColor:'black'\r\n });\r\n\r\n row.add(img);\r\n row.add(label);\r\n \r\n row.hasChild=false;\r\n row.height = 50;\r\n row.className = 'list';\r\n \r\n data.push(row);\r\n}\r\n\r\nlistTable.bottom = 50;\r\n\r\nlistTable.setData(data);\r\n \r\npage2.add(listTable);\r\n\r\nvar b2 = Titanium.UI.createButton({\r\n title:'CLOSE',\r\n bottom:5,\r\n height:40\r\n});\r\n\r\npage2.add(b2);\r\n\r\nb2.addEventListener('click',function()\r\n{\r\n page2.close();\r\n});\r\n\r\nvar win = Titanium.UI.createWindow({ \r\n title:'win',\r\n backgroundColor:'#555'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n title:'OPEN'\r\n});\r\n\r\nbutton.addEventListener('click',function()\r\n {\r\n page2.open();\r\n });\r\n \r\nwin.add(button);\r\n\r\nwin.open();\r\n{code}\r\n2. Press \"Open\" button\r\n\r\nExpected:\r\nShould see tableView rows with data\r\n\r\nActual:\r\nData is missing", "attachment": [], "flagged": false, "summary": "Android: TableViewRow - Missing tableViewRow data", "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": "Tested on:\r\nOS: Mac OS X Lion 10.7.4\r\nTitanium Studio, build: 3.0.0.201210090117\r\nTitanium SDK, build: 3.0.0.v20121010184612\r\nDevice: Samsung Galaxy Nexus (4.1.1)", "comment": { "comments": [ { "id": "223214", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This works with the fix for [TIMOB-11320]. I\"m going to close as a duplicate.", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:21:53.000+0000", "updated": "2012-10-11T23:21:53.000+0000" }, { "id": "223215", "author": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Duplicate of [TIMOB-11320]", "updateAuthor": { "name": "krowley", "key": "krowley", "displayName": "Karl Rowley", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-11T23:22:56.000+0000", "updated": "2012-10-11T23:22:56.000+0000" }, { "id": "224075", "author": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as fixed. Verified and tested on:\r\nTitanium Studio, build: 3.0.0.201210151149\r\nTitanium SDK, builds: 3.0.0.v20121017100120; 3.1.0.v20121017102121\r\nDevice: Nexus 7 (4.1.1)", "updateAuthor": { "name": "tsmolich", "key": "tsmolich", "displayName": "Tamila Smolich", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-10-17T21:45:39.000+0000", "updated": "2012-10-17T21:45:39.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }