{ "id": "105325", "key": "ALOY-502", "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": [ { "id": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15571", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-07-19T19:34:24.000+0000", "created": "2012-11-21T07:56:31.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "29775", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "116374", "key": "ALOY-720", "fields": { "summary": "Allow Widgets as child of Menu tag", "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": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-08-01T01:06:47.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": "12333", "name": "Widgets" }, { "id": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "I'm building a widget that provides a nice almost-twitter-like-experience within an app's tab.\r\n\r\nThis widget can be required to provide a containing a list of tweets to a like so:\r\n\r\n{code}\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n{code}\r\n\r\nBut I'd rather like the widget to provide the all together like:\r\n\r\n{code}\r\n\t\r\n\t\t\r\n \t\t\t\r\n\t\t\r\n\t\r\n{code}\r\n\r\nBut when I require the widget including the window like within the tab like this:\r\n\r\n{code}\r\n\t\r\n\t\t\r\n\t\r\n{code}\r\n\r\nI get the following error during build:\r\n\r\n\t[ERROR] Invalid Tab child \"Alloy.Widget\"\r\n\t[ERROR] Tab must have only one child element, which must be a Window\r\n\r\nShouldn't the build be aware that this widget provides (or a widget in general COULD provide) a and not trigger this error?", "attachment": [], "flagged": false, "summary": "Unexpected error when requiring a widget that provides a valid view to it's parent", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Mac OS X Lion\r\nTitanium Studio RC 3.0.0.201211202053\r\nTitanium SDK 2.1.4GA\r\nAlloy 3.0.0.201211191555", "comment": { "comments": [ { "id": "262503", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Note:* This appears to have been resolved by an earlier commit. A test case was created just to ensure no regressions.\r\n\r\nPR: https://github.com/appcelerator/alloy/pull/190\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-502\r\n\r\nFunctional testing can be passed on all platforms so long as the app compiles and runs. The initial issue was related to a compile time error, so the app loading enough is enough confirmation.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-19T19:34:24.000+0000", "updated": "2013-07-19T19:34:24.000+0000" }, { "id": "262597", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "I think the issue was also related to cases with proxy components like:\r\n\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\r\n\t\t\t\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nBut I just tested the above and works fine. Time to update my PullToRefresh widget ;)", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2013-07-21T08:36:18.000+0000", "updated": "2013-07-21T08:36:18.000+0000" }, { "id": "264349", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTitanium SDK 3.1.2.v20130730133101\nAlloy 1.2.0-alpha\nAppcelerator Studio 3.1.2.201307261628\nCLI 3.1.2\nNode 0.8.22\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T01:06:26.000+0000", "updated": "2013-08-01T01:06:26.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }