{ "id": "131405", "key": "ALOY-1047", "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": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-09T19:20:44.000+0000", "created": "2014-06-09T02:55:52.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-closed-3.3.0", "qe-manualtest" ], "versions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "issuelinks": [ { "id": "38205", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "129873", "key": "ALOY-1002", "fields": { "summary": "Platform-specific folders within a widget's assets are copied unnecessarily to the Resources folder", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2014-11-20T00:54:45.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": "*Error*\r\n{code:javascript}\r\n[INFO] : ----- MVC GENERATION -----\r\n[INFO] : [global style] loading from cache...\r\n[INFO] : [star.xml] starrating view processing...\r\n[INFO] : style: \"star.tss\"\r\n[INFO] : theme: \"PLUSMINUS/star.tss\"\r\n[INFO] : theme: \"PLUSMINUS/ios/star.tss\"\r\n[INFO] : view: \"star.xml\"\r\n[INFO] : controller: \"star.js\"\r\n[DEBUG] : fs.js:654\r\n[DEBUG] : return binding.readdir(pathModule._makeLong(path));\r\n[DEBUG] : ^\r\n[ERROR] : : ENOENT, no such file or directory '/Users/fmiao/Development/Titanium_Studio_Workspace/ThemeWidgetNoAssets/Resources/iphone/starrating'\r\n[DEBUG] : at Object.fs.readdirSync (fs.js:654:18)\r\n[DEBUG] : at readdirSyncRecursive (/usr/local/lib/node_modules/alloy/node_modules/wrench/lib/wrench.js:37:23)\r\n[DEBUG] : at Object.exports.readdirSyncRecursive (/usr/local/lib/node_modules/alloy/node_modules/wrench/lib/wrench.js:51:20)\r\n[DEBUG] : at Object.exports.copyWidgetResources (/usr/local/lib/node_modules/alloy/Alloy/commands/compile/compilerUtils.js:612:24)\r\n[DEBUG] : at parseAlloyComponent (/usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:656:6)\r\n[DEBUG] : at /usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:252:6\r\n[DEBUG] : at Array.forEach (native)\r\n[DEBUG] : at Function._.each._.forEach (/usr/local/lib/node_modules/alloy/Alloy/lib/alloy/underscore.js:79:11)\r\n[DEBUG] : at /usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:241:6\r\n[DEBUG] : at Array.forEach (native)\r\n[DEBUG] : at Function._.each._.forEach (/usr/local/lib/node_modules/alloy/Alloy/lib/alloy/underscore.js:79:11)\r\n[DEBUG] : at module.exports (/usr/local/lib/node_modules/alloy/Alloy/commands/compile/index.js:237:4)\r\n[DEBUG] : at Object. (/usr/local/lib/node_modules/alloy/Alloy/alloy.js:100:46)\r\n[DEBUG] : at Module._compile (module.js:456:26)\r\n[DEBUG] : at Object.Module._extensions..js (module.js:474:10)\r\n[DEBUG] : at Module.load (module.js:356:32)\r\n[DEBUG] : at Function.Module._load (module.js:312:12)\r\n[DEBUG] : at Module.require (module.js:364:17)\r\n[DEBUG] : at require (module.js:380:17)\r\n[DEBUG] : at Object. (/usr/local/lib/node_modules/alloy/bin/alloy:3:1)\r\n[DEBUG] : at Module._compile (module.js:456:26)\r\n[DEBUG] : at Object.Module._extensions..js (module.js:474:10)\r\n[DEBUG] : at Module.load (module.js:356:32)\r\n[DEBUG] : at Function.Module._load (module.js:312:12)\r\n[DEBUG] : at Function.Module.runMain (module.js:497:10)\r\n[DEBUG] : at startup (node.js:119:16)\r\n[DEBUG] : at node.js:901:3\r\n[ERROR] : Alloy compiler failed\r\n{code}", "attachment": [ { "id": "48738", "filename": "ThemeWidgetNoAssets.zip", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-06-09T03:01:07.000+0000", "size": 26281, "mimeType": "application/zip" } ], "flagged": false, "summary": "Compile error when there is no \"assets\" folder under widget and themed widget directory.", "creator": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "subtasks": [], "reporter": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "environment": null, "closedSprints": [ { "id": 142, "state": "closed", "name": "2014 Sprint 12 Alloy", "startDate": "2014-06-09T16:00:25.715Z", "endDate": "2014-06-23T16:00:00.000Z", "completeDate": "2014-06-23T14:35:50.386Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "307968", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/alloy/pull/438\r\nTest apps: \r\nhttps://github.com/feons/alloy/tree/ALOY-1047/test/apps/testing/ALOY-1047\r\nhttps://github.com/feons/alloy/tree/ALOY-1002/test/apps/testing/ALOY-1002\r\n\r\nFunctional Test:\r\n\r\n 1. Run the test app ALOY-1047 (there's no assets folder under both widget and themed widget)\r\n 2. App loads with no compilation error.\r\n 3. Run the test app ALOY-1002 (there's assets folder under both widget and themed widget)\r\n 4. App loads with no compilation error.\r\n", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-06-09T03:47:10.000+0000", "updated": "2014-06-09T03:47:10.000+0000" }, { "id": "308070", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR tested and merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-06-09T19:20:44.000+0000", "updated": "2014-06-09T19:20:44.000+0000" }, { "id": "309536", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified the fix, there is no compile error when there is no \"assets\" folder under widget and themed widget directory\r\n\r\nVerified using the following environment:\r\nDevice : Google Nexus 7, Android Version: 4.3\r\nSDK: 3.3.0.v20140617161713\r\nCLI version : 3.3.0-rc\r\nOS : MAC OSX 10.9.2\r\nAlloy: 1.4.0-rc\r\nACS: 1.0.14\r\nnpm:1.3.2\r\nLiveView: 1.0.4\r\nAppcelerator Studio, build: 3.3.0.201406171619\r\ntitanium-code-processor: 1.1.1\r\nXCode : 5.1.1", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-06-18T09:59:52.000+0000", "updated": "2014-06-18T09:59:52.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }