{ "id": "136635", "key": "ALOY-1140", "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": "16596", "name": "Alloy 1.6.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-28T02:16:32.000+0000", "created": "2014-09-16T04:11:53.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15909", "description": "Alloy 1.5.0", "name": "Alloy 1.5.0", "archived": false, "released": true, "releaseDate": "2014-09-29" } ], "issuelinks": [ { "id": "41967", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "137759", "key": "TISTUD-6979", "fields": { "summary": "Studio should revert back to using Windows path format for alloy.js sourcemaps", "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": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2015-03-30T18:14:51.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": "13602", "name": "Appcelerator Studio", "description": "Appcelerator Studio specific issues" } ], "description": "The sourcemap contains different source location path format for app.js file compared to controller files on Windows platform.\r\n\r\nThe map file for app.js is :\r\n{code}\r\n\"version\":3,\"file\":\"Resources/android/app.js\",\"sources\":[\"Resources/android/app.js\"]\r\n{code}\r\n\r\nThe map file for index.js is :\r\n{code}\r\n\"version\":3,\"file\":\"Resources\\\\alloy\\\\controllers\\\\index.js\",\"sources\":[\"Resources\\\\alloy\\\\controllers\\\\index.js\",\"app\\\\controllers\\\\index.js\"]\r\n{code}\r\n\r\nDue to the difference of path formats, Studio fails to parse the paths and the debugger fails to stop at the expected breakpoints.\r\n\r\nWe need to investigate the difference in the path generation and ideally, in order to handle the paths consistently across all platforms, it might be better to have the paths in unix format.", "attachment": [], "flagged": false, "summary": "Windows: The path format for app.js is different from controller files in sourcemap", "creator": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Windows", "closedSprints": [ { "id": 228, "state": "closed", "name": "2014 Sprint 20 Alloy", "startDate": "2014-09-29T13:30:47.322Z", "endDate": "2014-10-13T13:30:00.000Z", "completeDate": "2014-10-13T18:08:16.541Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "326498", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR: https://github.com/appcelerator/alloy/pull/581\r\n\r\nFunctional test:\r\n\r\n1. Create a new Alloy project or use an existing one (any functional app will do).\r\n2. Make sure there is some valid code in the app/alloy.js file (that won't get removed the optimizer -- like set an Alloy.Globals.something variable).\r\n3. Update config.json to set sourcemap: true\r\n4. Build the app.\r\n5. Open build/map/Resources/(platform)/app.js and compare to one of the controllers in build/map/Resources/(platform)/alloy/controllers\r\n\r\nThe format of the file paths should match (all use \\ \\ folderName on Windows) <- stupid Jira won't let me put two \\ next to each other w/out spaces", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-09-30T20:42:57.000+0000", "updated": "2014-09-30T20:42:57.000+0000" }, { "id": "329229", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Reopen to backport to 1_6_X branch", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-23T19:58:18.000+0000", "updated": "2014-10-23T19:58:18.000+0000" }, { "id": "329380", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "1_6_X PR https://github.com/appcelerator/alloy/pull/608\r\n\r\nFunctional test as above", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-24T19:13:35.000+0000", "updated": "2014-10-24T19:13:35.000+0000" }, { "id": "329678", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-10-28T02:16:32.000+0000", "updated": "2014-10-28T02:16:32.000+0000" }, { "id": "347748", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed using:\r\n\r\nWindows 8\r\nAlloy 1.6.0-alpha2\r\nAppc NPM 0.3.37\r\nAppc CLI 0.2.201\r\nStudio 4.0.0.v201503271912\r\nSDK 4.0.0.v20150327114208\r\n\r\nPaths match and all include the '\\\\'. ", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-03-30T18:14:51.000+0000", "updated": "2015-03-30T18:14:51.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }