{ "id": "61688", "key": "TIMOB-1056", "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": "13417", "description": "Sprint 2012-13 API", "name": "Sprint 2012-13 API", "archived": true, "released": true, "releaseDate": "2012-07-01" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-06-22T12:16:35.000+0000", "created": "2011-04-15T02:42:44.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:52:56.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": "{html}

A customer has an app where he has multiple tab groups. After\r\nswitching to the second group and then going back the first group,\r\nthe table view fails to render. Files can be found here:

\r\n

http://helpdesk.appcelerator.net/tickets/2840

{html}", "attachment": [ { "id": "17920", "filename": "resources.zip", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:44.000+0000", "size": 28053, "mimeType": "application/zip" } ], "flagged": false, "summary": "Multi tb group tableView fails to render", "creator": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ctredway1", "key": "ctredway1", "displayName": "ctredway", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124711", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

valid, needs testcase

\n

attached files from original helpdesk ticket. To repro (happens\nin emulator and device):
\n1.launch app, note table
\n2.tap \"show group 2\"
\n3. in the resulting window, tap \"show group 1\"

\n

results, table view is not shown

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:42:45.000+0000", "updated": "2011-04-15T02:42:45.000+0000" }, { "id": "163263", "author": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "1054\r\nBug scrub: valid. Test case attached with bug\r\nTested On: \r\nMac OSX Lion\r\nTiMob 1.8.0\r\nTiStud: 1.0.4.201108101535\r\n\r\nDevices Tested On:\r\n\r\niPhone Simulator", "updateAuthor": { "name": "vsingh", "key": "vsingh", "displayName": "Vikramjeet Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-08-17T15:54:03.000+0000", "updated": "2011-08-17T15:54:03.000+0000" }, { "id": "199780", "author": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Bad Code. Here is how you need to write your win1.js\r\n{code}\r\n\r\nTi.API.info('win1');\r\nTi.include('global.js');\r\n\r\nvar win = Ti.UI.currentWindow;\r\n\r\nvar loginButton = Ti.UI.createButton({title:'show group 2', top:0, width:'150', height:'40'});\r\n\r\nwin.add(loginButton);\r\n\r\n// create table view\r\nvar tableViewOptions = {\r\n\t//data:data,\r\n\ttop:50,\r\n\t//headerTitle:'Settings',\r\n\tstyle:Titanium.UI.iPhone.TableViewStyle.GROUPED,\r\n\tbackgroundColor:'transparent',\r\n\trowBackgroundColor:'white'\r\n};\r\n\r\n// create table view\r\nvar tableview = Titanium.UI.createTableView(tableViewOptions);\r\nwin.add(tableview);\r\n\r\nfunction addData() {\r\n\tTi.API.info('addData');\r\n\t\r\n\tvar data = [\r\n\t\r\n\t\t//{title:'Language', hasChild:true, url:'language.js'},\r\n\t\t{title:'About', hasChild:true, header:''},\r\n\t\t{title:'Visit easyMedMobile.com', hasChild:true},\r\n\t\t{title:'Terms and Conditions', hasChild:true},\r\n\t\t{title:'Log out', hasChild:true, header:''}\r\n\t];\r\n\t\r\n\ttableview.setData(data);\r\n}\r\n\r\nvar event_win1_listener = function(e){\r\n\tTi.API.info(\"event_win1\");\t\r\n\taddData();\r\n}\r\n\r\nif(Titanium.App.Properties.getBool(\"event_win1\") == false) {\r\n\tTitanium.App.Properties.setBool(\"event_win1\", true);\r\n\tTitanium.App.addEventListener('event_win1', event_win1_listener);\r\n}\r\n\r\n\r\nloginButton.addEventListener('click', function() {\r\n\tTitanium.UI.currentTabGroup.close();\r\n\tTitanium.App.Properties.setBool(\"event_win1\", false);\r\n\tTitanium.App.removeEventListener('event_win1', event_win1_listener);\r\n\t\r\n\tshowGroup2();\r\n\t\r\n\t//\r\n});\r\n\r\nTi.App.fireEvent('event_win1');\r\n{code}", "updateAuthor": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-06-22T12:16:35.000+0000", "updated": "2012-06-22T12:16:35.000+0000" }, { "id": "409032", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:52:56.000+0000", "updated": "2017-03-03T22:52:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }