{ "id": "122193", "key": "ALOY-880", "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": "15887", "description": "2014 Sprint 03", "name": "2014 Sprint 03", "archived": true, "released": true, "releaseDate": "2014-02-14" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-02-10T20:29:13.000+0000", "created": "2013-11-07T15:25:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "alloy", "controller", "error" ], "versions": [], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2018-03-07T22:28:25.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": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "Hi =]\r\n\r\nI had the following structure (note the duplicated id: 'scheduler'):\r\n\r\nindex.xml\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nscheduler.xml\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nThe error I received back came from alloy/controllers/BaseController.js line 36 :\r\n\r\n\"cannot read property '__iamalloy' of undefined\"\r\n\r\nThe problem was that the duplicate id prevented one of the scheduler controllers to have an undefined value as it's 'parent' property.\r\n\r\nA check should occur somewhere sooner to warn that a duplicate id has been defined.", "attachment": [], "flagged": false, "summary": "Improve error reporting on duplicate alloy controller id", "creator": { "name": "lsdriscoll", "key": "lsdriscoll", "displayName": "Lee Driscoll", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "lsdriscoll", "key": "lsdriscoll", "displayName": "Lee Driscoll", "active": true, "timeZone": "Europe/London" }, "environment": "Titanium SDK 3.1.3.GA\r\nAlloy 1.2.2\r\nAndroid Deployment", "comment": { "comments": [ { "id": "292222", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "[~lsdriscoll] There is actually a warning message output. It's probably just that there's a lot of build messages that go by so that it's easy to miss it.\r\n\r\n{code}\r\n[INFO] [joblist.xml] view processing...\r\n[INFO] view: \"joblist.xml\"\r\n[WARN]