{ "id": "120337", "key": "ALOY-833", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" }, { "id": "15754", "description": "2013 Sprint 23", "name": "2013 Sprint 23", "archived": true, "released": true, "releaseDate": "2013-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-05T23:36:18.000+0000", "created": "2013-09-23T12:53:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-manualtest" ], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-05T23:36:18.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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "When trying to build the following code:\r\n\r\n{code}\r\n\r\n \r\n\r\n{code}\r\n\r\nI get the following error:\r\n\r\n{color:red}\r\n[ERROR] : Child element must be one of the following: [Ti.UI.TableView.HeaderView,Ti.UI.TableView.HeaderPullView,Ti.UI.TableView.FooterView,Ti.UI.TableView.Search,Ti.UI.TableViewRow,Ti.UI.TableViewSection,Ti.UI.SearchBar]\r\n{color}\r\n\r\nCould you please add Widget as valid child of TableView? I am allowed to put a Widget inside a TableViewSection", "attachment": [], "flagged": false, "summary": "Allow as child of TableView", "creator": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "272457", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~timanrebel] what is in your widget?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-23T12:57:56.000+0000", "updated": "2013-09-23T12:57:56.000+0000" }, { "id": "272462", "author": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "body": "sc.SharingSettings:\r\n{code}\r\n\r\n \r\n\r\n{code}\r\n\r\nsc.GroupedTable:\r\n{code}\r\n\r\n{code}\r\n\r\nsc.GroupedTable's widget controller creates a set of Ti.UI.TableViewSection, which it adds via $.addTopLevelViews. \r\n\r\nThe GroupedTable widget used to have its own TableView, but I wanted more flexibility. Like adding 2 widgets into 1 tableview.", "updateAuthor": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-23T13:32:51.000+0000", "updated": "2013-09-23T13:32:51.000+0000" }, { "id": "272465", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I think I can facilitate this by allowing empty widgets to be part of the hierarchy.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-23T13:37:51.000+0000", "updated": "2013-09-23T13:37:51.000+0000" }, { "id": "272468", "author": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "body": "I noticed that adding a TableViewSection to sc.GroupedTable didn't seem to work. Maybe because the hierarchy is then: TableView -> Widget -> Widget -> TableViewSection", "updateAuthor": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-23T14:05:19.000+0000", "updated": "2013-09-23T14:05:19.000+0000" }, { "id": "272530", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~timanrebel] can you turn this into a reproducible test case? I've got some of the bits and pieces here, but I'm obviously missing some elements necessary to actually run this on my end.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-23T20:12:11.000+0000", "updated": "2013-09-23T20:12:11.000+0000" }, { "id": "278052", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This issue was resolved by an earlier commit. The PR below represents a test app created to confirm the fix.\r\n\r\nPR: https://github.com/appcelerator/alloy/pull/268\r\n\r\nFunctional test should be simply running the app, confirming that there are no compile time or runtime errors, and asserting that the table section in the app's widget is shown (5 simple rows).", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-04T21:19:39.000+0000", "updated": "2013-11-04T21:19:39.000+0000" }, { "id": "282026", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131127194046\nCLI 3.2.0-beta\nAlloy 1.3.0-beta\nTitanium Studio 3.2.0.201311262027\n\niPad OS 7 and simulator\nAndroid Google Nexus Galaxy 4.3\nMobileWeb (for sample #2)\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-03T00:15:32.000+0000", "updated": "2013-12-03T00:15:32.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }