{ "id": "115028", "key": "ALOY-671", "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": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-05-31T12:32:08.000+0000", "created": "2013-05-28T11:38:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.1.1" ], "versions": [ { "id": "15512", "description": "Alloy 1.1.3", "name": "Alloy 1.1.3", "archived": false, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-22T13:23:10.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": "12600", "name": "Samples & Templates" } ], "description": "This is not a regression. Tried with alloy 1.1.1 and 1.1.2. Error is coming with them as well.\r\n\r\nSteps to reproduce:\r\n1. Copy 'apps/basics/controller_events' content into an existing project 'app' folder\r\n2. Run the app on an android device\r\n\r\nExpected result:\r\n1. The app should run successfully.\r\n\r\nActual result:\r\n1. It gives a runtime error.Logs and snapshot of the exception are attached with bug.", "attachment": [ { "id": "39127", "filename": "alloy_exception.png", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-28T11:38:46.000+0000", "size": 52450, "mimeType": "image/png" }, { "id": "39126", "filename": "Alloy Exception", "author": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-28T11:38:46.000+0000", "size": 467, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Alloy app when accessing module from controllers->index.js, giving runtime error", "creator": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "djha", "key": "djha", "displayName": "Dhirendra Jha", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio: 3.1.1.201305241716\r\nTitanium SDK: 3.1.1.v20130524180421\r\nacs: 1.0.2\r\nalloy: 1.1.3-alpha\r\nnpm: 1.2.17\r\ntitanium: 3.1.1-alpha\r\ntitanium-code-processor: v1.0.1-alpha\r\nOS: Mac 10.8\r\nDevice: Samsung Galaxy Android 2.3.6,iPhone 5 iOS 6.0", "comment": { "comments": [ { "id": "254241", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It sounds like you are using the versions of the apps from the github repository instead of the version with the alloy-1.1.3-alpha module. The github repo is in the process of adding runtime unit testing. You copied only parts of the app and not all the folders, which is causing your error. If you copied over the \"specs\" folder as well, as noted in the error message, it should run fine with the runtime unit testing included. This of course assumes that you also installed the version of alloy from the repo.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-28T14:41:10.000+0000", "updated": "2013-05-28T14:41:10.000+0000" }, { "id": "255151", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Runtime error occurs as \"Requested module not found: specs/index\"\n\nEnvironment used:\nDevice : iPhone 4S , iOS version : 5.1.1\nDevice: Samsung Galaxy Note, Android version: 2.3.6\nSDK: 3.1.1.v20130530204550\nCLI version : 3.1.0\nOS : MAC OSX 10.7.5\nAppcelerator Studio, build: 3.1.1.201305271814\nXCode : 4.5.1\n\nSteps to reproduce:\n1. Navigate to /alloy/test/apps/basics/simple.\n2. Copy all the Directories into the app folder of project.\n3. Execute the app on the device.\n\nExpected:\nApp should work fine with no error.\n\nActual:\nRuntime error occured as\"Requested module not found: specs/index\"", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-05-31T11:57:34.000+0000", "updated": "2013-05-31T11:57:34.000+0000" }, { "id": "255154", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Again, you guys are using the latest test apps which correspond to an unreleased version of Alloy. You are getting errors because you are running test apps on earlier versions of Alloy that don't support them. Use the github repo's tags to look at the test apps that correspond to your version. For reference the latest stable version of Alloy is 1.1.2. \r\n\r\n*1.1.2 tagged version:* https://github.com/appcelerator/alloy/tree/1.1.2\r\n*All Alloy tagged versions:* https://github.com/appcelerator/alloy/tags", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-31T12:32:08.000+0000", "updated": "2013-05-31T12:33:21.000+0000" }, { "id": "255469", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Thanks Tony for the info. Its working fine now.", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-06-03T12:14:56.000+0000", "updated": "2013-06-03T12:14:56.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }