{ "id": "104854", "key": "TIMOB-11745", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" }, { "id": "14624", "description": "2012 Sprint 24 JS", "name": "2012 Sprint 24", "archived": true, "released": true, "releaseDate": "2012-12-03" }, { "id": "14626", "description": "2012 Sprint 24 Core", "name": "2012 Sprint 24 Core", "archived": true, "released": true, "releaseDate": "2012-12-03" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-11-21T22:15:29.000+0000", "created": "2012-11-12T23:05:39.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "TableViewRow", "qe-port", "regression", "triage" ], "versions": [], "issuelinks": [ { "id": "22919", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "105193", "key": "AC-1897", "fields": { "summary": "className gives error", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "22958", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "104923", "key": "TIMOB-11760", "fields": { "summary": "Make TableViewRow reuse conditional", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } }, { "id": "23116", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "105533", "key": "TIMOB-11861", "fields": { "summary": "KS: TableView - unexpected behavior of table view rows. ", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "23081", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "104960", "key": "TIMOB-11768", "fields": { "summary": "Kitchen Sink: Views - Tap on table view rows in order results in displayed information being overlapped with tapped row's info.", "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 } } } }, { "id": "23082", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "104989", "key": "TIMOB-11773", "fields": { "summary": "Kitchen Sink: Views - An application hangs after scrolling down/up.", "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": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-01-15T02:55:15.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": [], "description": "h3. The problem\r\nIn the 3.x CI SDK, the table view rows act funny when className is used. They are not consistent and a message in the log reads:\r\n{code}\r\n[ERROR] TableViewRow structures for className meh does not match\r\n{code}\r\n\r\nSome of the symptoms are the fact the the label disappears sometimes, or the height of the row changes randomly. \r\n\r\nh3. To reproduce\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar table = Ti.UI.createTableView();\r\n\r\nfunction Row(name) {\r\n var row = Ti.UI.createTableViewRow({className: 'meh', reusable: true, height: Ti.UI.SIZE });\r\n row.add(Ti.UI.createLabel({text: name}));\r\n return row;\r\n}\r\n\r\nfunction reloadOne() {\r\n var data = [\r\n Row('Row 1'),\r\n Row('Row 2'),\r\n Row('Row 3'),\r\n Row('Row 4')\r\n ];\r\n \r\n table.setData(data);\r\n}\r\n\r\nfunction reloadTwo() {\r\n var data = [\r\n Row('Row 5'),\r\n Row('Row 6'),\r\n Row('Row 7'),\r\n Row('Row 8')\r\n ];\r\n \r\n table.setData(data);\r\n}\r\nwin.add(table);\r\n\r\nvar btnOne = Ti.UI.createButton({\r\n title : 'click',\r\n});\r\nvar btnTwo = Ti.UI.createButton({\r\n title : 'click',\r\n});\r\n\r\nbtnOne.addEventListener('click', reloadOne);\r\nbtnTwo.addEventListener('click', reloadTwo);\r\n\r\nwin.rightNavButton = btnOne;\r\nwin.leftNavButton = btnTwo;\r\n\r\nwin.open({modal:true});\r\n{code}\r\n\r\nCopy and paste this into app.js and run it. Click on the buttons on the navigation bar to change the table data.anges randomly. \r\n\r\nh3. To reproduce\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar table = Ti.UI.createTableView();\r\n\r\nfunction Row(name) {\r\n var row = Ti.UI.createTableViewRow({className: 'meh', height: Ti.UI.SIZE });\r\n row.add(Ti.UI.createLabel({text: name}));\r\n return row;\r\n}\r\n\r\nfunction reloadOne() {\r\n var data = [\r\n Row('Row 1'),\r\n Row('Row 2'),\r\n Row('Row 3'),\r\n Row('Row 4')\r\n ];\r\n \r\n table.setData(data);\r\n}\r\n\r\nfunction reloadTwo() {\r\n var data = [\r\n Row('Row 5'),\r\n Row('Row 6'),\r\n Row('Row 7'),\r\n Row('Row 8')\r\n ];\r\n \r\n table.setData(data);\r\n}\r\nwin.add(table);\r\n\r\nvar btnOne = Ti.UI.createButton({\r\n title : 'click',\r\n});\r\nvar btnTwo = Ti.UI.createButton({\r\n title : 'click',\r\n});\r\n\r\nbtnOne.addEventListener('click', reloadOne);\r\nbtnTwo.addEventListener('click', reloadTwo);\r\n\r\nwin.rightNavButton = btnOne;\r\nwin.leftNavButton = btnTwo;\r\n\r\nwin.open({modal:true});\r\n{code}\r\n\r\nCopy and paste this into app.js and run it. Click on the buttons on the navigation bar to change the table data.", "attachment": [], "flagged": false, "summary": "iOS TableViewRow structures for className meh does not match", "creator": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Titanium SDK version: 3.1.0 (11/08/12 12:30 733e10e)\r\niPhone - iPad", "comment": { "comments": [ { "id": "228100", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR https://github.com/appcelerator/titanium_mobile/pull/3451", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-20T23:15:42.000+0000", "updated": "2012-11-20T23:15:42.000+0000" }, { "id": "228307", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "3_0_X PR https://github.com/appcelerator/titanium_mobile/pull/3464", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-21T22:32:37.000+0000", "updated": "2012-11-21T22:32:37.000+0000" }, { "id": "234318", "author": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested with:\r\nSDK: 3.0.0 GA, 3.1.0.v20130108153753\r\nStudio: 3.0.1.201212181159\r\nDevice: iPad2(v 5.1)\r\n\r\nNo error in the console stating that TableViewrow structures for classname meh do not match", "updateAuthor": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-01-15T02:55:15.000+0000", "updated": "2013-01-15T02:55:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }