{ "id": "121606", "key": "ALOY-862", "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": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" }, { "id": "15753", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-08-05T17:44:05.000+0000", "created": "2013-10-25T01:14:32.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-05T17:44:05.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": "There's a check in place to ensure that the main index.xml has at least one top-level view in it as a launching point for the app. Unfortunately that check looks at only the filename. This means that a file in a subfolder named index.xml also needs to abide by this rule, which is invalid. ", "attachment": [], "flagged": false, "summary": "index.xml in subfolder throws error if it doesn't have a top-level container", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "276725", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/256\r\n\r\nThis can be tested with the following steps\r\n\r\n# Create a default Alloy app\r\n# Create a \"views/test/index.xml\" file with just the tag in it\r\n# Run a {{alloy compile --platform ios}}\r\n# The compile should run without error\r\n\r\nPrior to this fix, you would get something like the following error:\r\n\r\n{code}\r\n[ERROR] Compile failed. index.xml must have a top-level container element.\r\n[ERROR] Valid elements: [Ti.UI.Window,Ti.UI.iPad.SplitWindow,Ti.UI.TabGroup,Ti.UI.iOS.NavigationWindow,Alloy.Collection,Alloy.Model]\r\n[ERROR] Alloy compiler failed\r\n{code} ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-25T01:23:45.000+0000", "updated": "2013-10-25T01:23:45.000+0000" }, { "id": "282456", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified compiling with no errors.\n\nTiSDK 3.2.0.v20131203104847\nCLI 3.2.0-beta\nAlloy 1.3.0-beta\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-04T19:56:31.000+0000", "updated": "2013-12-04T19:56:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }