{ "id": "125289", "key": "ALOY-937", "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": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" }, { "id": "15759", "description": "Alloy 1.3.1", "name": "Alloy 1.3.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15816", "description": "2014 Sprint 02", "name": "2014 Sprint 02", "archived": true, "released": true, "releaseDate": "2014-01-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-01-27T16:07:07.000+0000", "created": "2014-01-23T11:06:21.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "alloy", "assets", "community", "compile", "platforms", "qe-manualtest", "triage", "widgets" ], "versions": [ { "id": "15759", "description": "Alloy 1.3.1", "name": "Alloy 1.3.1", "archived": false, "released": true, "releaseDate": "2014-02-10" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-11-20T22:14:40.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": "There happens to be a regression with platform specific widget assets since Alloy 1.3 started compiling to platform specific folders under {{Resources}}.\r\n\r\nh1. To reproduce\r\n\r\n1. Compile the attached Alloy app for iOS or Android.\r\n2. Find that main assets are well placed.\r\n3. Find that the widget assets are misplaced under {{Resources/android/iphone}} and alike folders.", "attachment": [ { "id": "45630", "filename": "ALOY-937_sample.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T19:02:46.000+0000", "size": 6154072, "mimeType": "application/zip" }, { "id": "45319", "filename": "app.zip", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-01-23T11:06:21.000+0000", "size": 69763, "mimeType": "application/zip" }, { "id": "45360", "filename": "app (3).zip", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-24T17:29:07.000+0000", "size": 152845, "mimeType": "application/zip" }, { "id": "45333", "filename": "Untitled.tiff", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2014-01-23T20:49:59.000+0000", "size": 231790, "mimeType": "image/tiff" } ], "flagged": false, "summary": "Platform specific widget assets are misplaced under Resources", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "Alloy 1.3.1-beta3", "comment": { "comments": [ { "id": "289565", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Moving this ticket to engineering as we can reproduce it with the provided steps.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-24T07:02:56.000+0000", "updated": "2014-01-24T07:02:56.000+0000" }, { "id": "289577", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-01-24T09:10:48.000+0000", "updated": "2014-01-24T09:10:48.000+0000" }, { "id": "289603", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "app(3) is an updated app with details related to android density specific images", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-24T17:29:07.000+0000", "updated": "2014-01-24T17:29:07.000+0000" }, { "id": "289605", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "The issue described is not critical, but using density-specific folders under widget assets is as the next test shows:\r\n\r\nhttps://www.flowdock.com/rest/private/11188/37372/files/2IqZkjLWhNarR71S75Jkig/app.zip\r\n\r\nCompile for Android and you'll find {{Resources/android/android}} and {{Resources/android/iphone}} folders that shouldn't been there and the density specific widget assets can only be found under {{Resources/android/android}}.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-01-24T17:30:22.000+0000", "updated": "2014-01-24T17:30:22.000+0000" }, { "id": "289727", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/310\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-937\n\nFunctional test\n\n# Compile the test app (same as the one in the description) for android and/or ios\n# Ensure that the file assets for the compile are copied to the right locations. For example, make sure that if you first compile for android that no \"Resources/android/iphone\" folder is created. Also ensure that the density-specific images for the widget are copied to the appropriate locations. For reference, I have attached a screenshot of what the resulting file structure should look like for a fresh android compile of the test app.\n", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-25T16:48:09.000+0000", "updated": "2014-01-25T16:48:09.000+0000" }, { "id": "289728", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fokke] would you be so kind as to test with the following version of alloy and make sure that your bug is fixed?\n\n{code}\nnpm install -g git://github.com/appcelerator/alloy.git#1_3_X\n{code}\n\nSoon as you do, I'll resolve this ticket and post a new beta to npm.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-25T16:54:07.000+0000", "updated": "2014-01-25T16:54:07.000+0000" }, { "id": "289732", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "[~tlukasavage], the only thing I've found is that there's an empty {{Resources/iphone|android/foo}} directory, but that's not a problem of course.\r\n\r\nAnother thing not related to assets is that only when compiling to iOS, there is a {{Resources/alloy/CFG.js}}, duplicating {{Resources/iphone/alloy/CFG.js}}. Again, not really a problem, just noticed it.\r\n\r\nAlso, what is the reason for having an empty {{Resources/app.js}}? Some kind of backwards compatibility thing? Seems to work well without.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2014-01-25T18:33:22.000+0000", "updated": "2014-01-25T18:33:22.000+0000" }, { "id": "289779", "author": { "name": "jeffatstepup", "key": "jeffatstepup", "displayName": "Jeff Antram", "active": true, "timeZone": "Europe/London" }, "body": "Platform specific widget assets are in the right place now. \r\n\r\nBut I am seeing a populated Resources/iphone/images folder for an android build and vice versa for an iPhone build. \r\n", "updateAuthor": { "name": "jeffatstepup", "key": "jeffatstepup", "displayName": "Jeff Antram", "active": true, "timeZone": "Europe/London" }, "created": "2014-01-27T10:43:21.000+0000", "updated": "2014-01-27T10:43:21.000+0000" }, { "id": "289792", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks guys! I'm going to resolve this issue to take care of the regression, but I'll log a new ticket for more cleanly populating the assets throughout the rest of the platform-specific folders.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-27T13:52:05.000+0000", "updated": "2014-01-27T13:52:05.000+0000" }, { "id": "289807", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Merged into both master and 1_3_X. Available in alloy 1.3.1-beta4.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-27T16:07:07.000+0000", "updated": "2014-01-27T16:07:07.000+0000" } ], "maxResults": 12, "total": 12, "startAt": 0 } } }