{ "id": "105617", "key": "TIMOB-12170", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-06-26T20:11:12.000+0000", "created": "2012-11-28T13:59:11.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [ { "id": "23980", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "107080", "key": "TIMOB-12427", "fields": { "summary": "Mobile Web: Support the property \"search\" in Ti.UI.TableView", "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": "Low", "id": "4" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-04-04T23:20:27.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": "11500", "name": "MobileWeb", "description": "Mobile Web (HTML) Platform" } ], "description": "*Reproduction steps*\r\n1. Create basic titanium mobile project.\r\n2. Add one TableView with two TableViewSections. Each TableViewSection has several rows (TableViewRow).\r\n3. Run it as mobile web preview in web browser.\r\n\r\n*Expected behavior*\r\nTableView with two sections and rows. \r\n\r\n*Actual behavior*\r\nOnly the first section has rows (property rows is undefined for second section).\r\n\r\nNOT reproducible in 2.1.4.GA version.\r\n\r\n*Sample program*\r\n{code}var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff'});\r\n\r\nvar section = Titanium.UI.createTableViewSection();\r\nsection.headerTitle = \"Hello\";\r\nvar row1 = Titanium.UI.createTableViewRow({title:\"Insert Row Above (no anim)\"});\r\nvar row2 = Titanium.UI.createTableViewRow({title:\"Insert Row Below - 1\", name: \"3\"});\r\nvar row21 = Titanium.UI.createTableViewRow({title:\"Insert Row Below - 11\", name: \"33\"});\r\n\t\r\nvar section2 = Titanium.UI.createTableViewSection();\r\nsection2.headerTitle = \"Hello2\";\r\nvar row3 = Titanium.UI.createTableViewRow({title:'Insert Row Below - Header', name:'13'});\r\nvar row4 = Titanium.UI.createTableViewRow({title:'Insert Row Above - Header - 2', name:'10'});\r\nvar row5 = Titanium.UI.createTableViewRow({title:'Insert Row Above - Header - 3', name:'11'});\r\n\t\r\nsection.add(row1);\r\nsection.add(row2);\r\nsection.add(row21);\r\nsection2.add(row3);\r\nsection2.add(row4);\r\nsection2.add(row5);\r\n\t\r\nvar tableView = Titanium.UI.createTableView({data: [section, section2]});\t\t\r\nwin1.add(tableView);\r\n\r\nconsole.log('--------------------------------------------------------------------');\r\nfor (var i in tableView.data) {\r\n\tconsole.log(i + ': ' + tableView.data[i]);\r\n\tconsole.log('section.rows[' + i + '] : ' + tableView.data[i].rows);\t\r\n}\r\nconsole.log('--------------------------------------------------------------------');\r\n\r\nwin1.open();{code}\r\n\r\n*Expected program printout*\r\n{code}0: [object TiUITableViewSection]\r\nsection.rows[0] : [object TiUITableViewRow],[object TiUITableViewRow],[object TiUITableViewRow]\r\n1: [object TiUITableViewSection]\r\nsection.rows[1] : [object TiUITableViewRow],[object TiUITableViewRow],[object TiUITableViewRow]{code}\r\n\r\n*Actual program printout*\r\n{code}0: [object TiUITableViewSection]\r\nsection.rows[0] : [object TiUITableViewRow],[object TiUITableViewRow],[object TiUITableViewRow]\r\n1: [object TiUITableViewSection]\r\nsection.rows[1] : undefined{code}", "attachment": [], "flagged": false, "summary": "Mobile Web: Problem with rows in TableView beyond the first TableViewSection", "creator": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "subtasks": [], "reporter": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "environment": "MS Windows, Titanium Studio 3.0.0.201211202053, SDK 3.0.0, Chrome", "comment": { "comments": [ { "id": "231987", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "body": "This bug is fixed in the Tizen repo. The fix may be directly ported to Mobile Web.", "updateAuthor": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2012-12-19T10:48:18.000+0000", "updated": "2012-12-19T10:48:18.000+0000" }, { "id": "232499", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Sounds good. Link / pull request?", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-23T02:29:54.000+0000", "updated": "2012-12-23T02:29:54.000+0000" }, { "id": "232507", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Yes, a pull request will follow shortly.", "updateAuthor": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2012-12-25T15:04:28.000+0000", "updated": "2012-12-25T15:04:28.000+0000" }, { "id": "232714", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Pull request that contains a fix: https://github.com/appcelerator/titanium_mobile/pull/3646", "updateAuthor": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2012-12-28T12:21:06.000+0000", "updated": "2012-12-28T12:21:06.000+0000" }, { "id": "232883", "author": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "body": "The rejected pull request is currently being improved. A new one will be issued in the nearest days.", "updateAuthor": { "name": "ypidstryhach_gl", "key": "ypidstryhach_gl", "displayName": "Yaroslav Pidstryhach", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2013-01-02T18:24:26.000+0000", "updated": "2013-01-02T18:24:26.000+0000" }, { "id": "422819", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Marking ticket as \"Won't Fix\" as MobileWeb has been deprecated.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-26T20:11:12.000+0000", "updated": "2017-06-26T20:11:12.000+0000" }, { "id": "436376", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as will not fix.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-04-04T23:20:27.000+0000", "updated": "2018-04-04T23:20:27.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }