{ "id": "159499", "key": "ALOY-1577", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2016-04-12T14:46:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "alloy", "baseController", "inheritance", "widget" ], "versions": [ { "id": "18001", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-06-28" } ], "issuelinks": [], "assignee": null, "updated": "2018-03-06T18:50:02.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "I have a widget with a controller `tvs`.\r\nIn the widget.js I set `exports.baseController = \"tvs\"`\r\nAlthough the root element in tvs is `TableViewSection`, I get the following error.\r\n\r\n{code:java}\r\n[ERROR] : Error with at line 23\r\n[ERROR] : Ti.UI.TableView child elements must be one of the following: [_ProxyProperty._Lists.HeaderView,_ProxyProperty._Lists.FooterView,_ProxyProperty._Lists.HeaderPullView,_ProxyProperty._Lists.Search,Ti.UI.SearchBar,Ti.UI.Android.SearchView,Ti.UI.RefreshControl,Ti.UI.TableViewRow,Ti.UI.TableViewSection,Ti.UI.iOS.PreviewContext]\r\n[ERROR] : Alloy compiler failed\r\n{code}", "attachment": [ { "id": "58926", "filename": "widget-test.zip", "author": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "created": "2016-04-12T21:31:20.000+0000", "size": 3020183, "mimeType": "application/zip" } ], "flagged": false, "summary": "Android: baseController does not expose the element type", "creator": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "subtasks": [], "reporter": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "environment": "Alloy 1.7.35\r\nTitanium SDK 5.2.2.GA\r\nMac OS X 10.11.4", "comment": { "comments": [ { "id": "382476", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, \r\n\r\nPlease provide a full regeneratable sample code. Looks like the issue is with your Ti.UI.TableView child elements. Which must be one of the following: [_ProxyProperty._Lists.HeaderView,_ProxyProperty._Lists.FooterView,_ProxyProperty._Lists.HeaderPullView,_ProxyProperty._Lists.Search,Ti.UI.SearchBar,Ti.UI.Android.SearchView,Ti.UI.RefreshControl,Ti.UI.TableViewRow,Ti.UI.TableViewSection,Ti.UI.iOS.PreviewContext]\r\n\r\nPlease check. See anything else is in there beside tham.\r\n\r\nRegards,\r\nSharif.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-04-12T15:03:12.000+0000", "updated": "2016-04-12T15:03:12.000+0000" }, { "id": "382534", "author": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "body": "Hello Sharif,\r\nAdded widget-test.zip to demonstrate the issue. \r\n\r\nRegards,\r\nOnur", "updateAuthor": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "created": "2016-04-12T21:31:39.000+0000", "updated": "2016-04-12T21:32:24.000+0000" }, { "id": "430493", "author": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "body": "Any news on this?", "updateAuthor": { "name": "onury", "key": "onury", "displayName": "Onur Yıldırım", "active": true, "timeZone": "Europe/Moscow" }, "created": "2017-11-12T23:16:14.000+0000", "updated": "2017-11-12T23:16:14.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }