{ "id": "118761", "key": "ALOY-798", "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-19T22:31:04.000+0000", "created": "2013-08-19T18:20:09.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded" ], "versions": [ { "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" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-14T18:51:07.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" } ], "description": "h3. Description\r\nIf you build an alloy app with a widget in the dependencies that doesn't exist the error message is 'Cannot read property 'manifest' of undefined'. It would be helpful to change that error message to something more descriptive like [Error] config.json/line 10: Missing dependency 'test:1.0'\r\n\r\nh3. Resources\r\nI have attached a sample app to reproduce the error", "attachment": [ { "id": "41721", "filename": "app.zip", "author": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-19T18:20:09.000+0000", "size": 4987617, "mimeType": "application/zip" } ], "flagged": false, "summary": "Modify Error Message: Cannot read property 'manifest' of undefined", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Alloy 1.2", "comment": { "comments": [ { "id": "267228", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/228\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-798\r\n\r\n# Compile the app\r\n# It should compile and load (a blank, white app) successfully\r\n# Add a non-existent widget to the config.json dependencies. For the sake of this test, we'll call it \"some.missing.widget\"\r\n# Attempt to compile the app.\r\n# It should fail with the following error:\r\n{code}\r\n[ERROR] config.json references non-existent widgets: [\"some.missing.widget\"]\r\n[ERROR] If you are not using these widgets, remove them from your config.json dependencies.\r\n[ERROR] If you are using them, add them to your project's widget folder.\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-08-19T22:31:04.000+0000", "updated": "2013-08-19T22:50:13.000+0000" }, { "id": "275006", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed.\n\nTiSDK 3.2.0.v20131013140318\nAlloy 1.3.0\n\nClosing", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T18:51:02.000+0000", "updated": "2013-10-14T18:51:02.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }