{ "id": "129873", "key": "ALOY-1002", "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-08-13T14:07:11.000+0000", "created": "2014-05-01T17:42:49.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-manualtest" ], "versions": [], "issuelinks": [ { "id": "38083", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "131151", "key": "ALOY-1035", "fields": { "summary": "Themes: Assets images not being applied as expected", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "39742", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "134062", "key": "ALOY-1105", "fields": { "summary": "Widget assets are not copied to the compiled app", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "38205", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "131405", "key": "ALOY-1047", "fields": { "summary": "Compile error when there is no \"assets\" folder under widget and themed widget directory.", "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-09-12T03:02:06.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": "Consider a widget with assets including assets in platform-specific folders.\r\n\r\nh3. Expectation\r\n\r\nAfter compilation, those assets should exist only under Resources/widget_name not in Resources/platform_name/widget_name.\r\n\r\nh3. Actual\r\n\r\nAssets exist in both locations", "attachment": [], "flagged": false, "summary": "Platform-specific folders within a widget's assets are copied unnecessarily to the Resources folder", "creator": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 117, "state": "closed", "name": "2014 Sprint 11 Alloy", "startDate": "2014-05-27T16:00:55.737Z", "endDate": "2014-06-07T04:00:00.000Z", "completeDate": "2014-06-09T14:18:58.490Z", "originBoardId": 124 }, { "id": 169, "state": "closed", "name": "2014 Sprint 16 Alloy", "startDate": "2014-08-04T14:48:59.768Z", "endDate": "2014-08-16T00:00:00.000Z", "completeDate": "2014-08-18T15:31:13.725Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "305058", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "Test case:\r\napp/themes/plusminus/widgets/starrating/assets/ios/star_half.png (a logo)\r\napp/themes/plusminus/widgets/starrating/assets/android/star_half.png (blue circle)\r\napp/themes/plusminus/widgets/starrating/assets/foo.png (brown circle)\r\napp/themes/plusminus/widgets/starrating/assets/star.png (plus) \r\napp/themes/plusminus/widgets/starrating/assets/star_off.png (minus)\r\n\r\napp/widgets/starrating/assets/ios/star.png (red)\r\napp/widgets/starrating/assets/android/star.png (green)\r\napp/widgets/starrating/assets/star.png (yellow)\r\napp/widgets/starrating/assets/star_half.png (half)\r\napp/widgets/starrating/assets/star_off.png (off)\r\n------\r\nAfter compilation, there are some unnecessary files:\r\niphone\r\nResources/iphone/ios/starrating/star.png (red)\r\nResources/iphone/starrating/ios/star_half.png (a logo)\r\nResources/iphone/starrating/android/star_half.png (blue circle)\r\nResources/iphone/starrating/foo.png (brown circle)\r\nResources/iphone/starrating/star.png (red)\r\nResources/iphone/starrating/star_half.png (a logo)\r\nResources/iphone/starrating/star_off.png (minus)\r\n— \r\nandroid\r\nResources/android/ios/starrating/star.png (red)\r\nResources/android/starrating/ios/star_half.png (a logo)\r\nResources/android/starrating/android/star_half.png (blue circle)\r\nResources/android/starrating/foo.png (brown circle)\r\nResources/android/starrating/star.png (plus)\r\nResources/android/starrating/star_half.png (half)\r\nResources/android/starrating/star_off.png (minus)\r\n", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-05-15T14:01:56.000+0000", "updated": "2014-05-15T14:01:56.000+0000" }, { "id": "305260", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR : https://github.com/appcelerator/alloy/pull/426\r\nTest app: https://github.com/feons/alloy/tree/ALOY-1002/test/apps/testing/ALOY-1002\r\n\r\nFunctional Test:\r\nThe assets in the test app are organized like this:\r\napp/themes/plusminus/widgets/starrating/assets/ios/star_half.png (a logo)\r\napp/themes/plusminus/widgets/starrating/assets/android/star_half.png (blue circle)\r\napp/themes/plusminus/widgets/starrating/assets/foo.png (brown circle)\r\napp/themes/plusminus/widgets/starrating/assets/star.png (plus) \r\napp/themes/plusminus/widgets/starrating/assets/star_off.png (minus)\r\n\r\napp/widgets/starrating/assets/ios/star.png (red)\r\napp/widgets/starrating/assets/android/star.png (green)\r\napp/widgets/starrating/assets/star.png (yellow)\r\napp/widgets/starrating/assets/star_half.png (half)\r\napp/widgets/starrating/assets/star_off.png ( off )\r\n\r\nSo, after compilation the Resources folder should have these files and no platform-specific folders:\r\nFor iphone:\r\nResources/iphone/starrating/star_half.png (a logo)\r\nResources/iphone/starrating/star.png (red)\r\nResources/iphone/starrating/foo.png (brown circle)\r\nResources/iphone/starrating/star_off.png (minus)\r\n\r\nFor android:\r\nResources/android/starrating/star_half.png (blue circle)\r\nResources/android/starrating/star.png (green)\r\nResources/android/starrating/foo.png (brown circle)\r\nResources/android/starrating/star_off.png (minus)\r\n\r\nFor mobileweb:\r\nResources/mobileweb/starrating/star_half.png (half)\r\nResources/mobileweb/starrating/star.png (plus)\r\nResources/mobileweb/starrating/foo.png (brown circle)\r\nResources/mobileweb/starrating/star_off.png (minus)\r\n----\r\n\r\nThe ordering goes like this from highest to lowest priority:\r\nthemed widget platform-specific assets\r\nwidget platform specific assets\r\nthemed widget non-platform-specific assets\r\nwidget non-platform-specific assets", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-05-16T07:00:54.000+0000", "updated": "2014-06-04T15:39:05.000+0000" }, { "id": "307659", "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-05T15:32:03.000+0000", "updated": "2014-06-05T15:32:03.000+0000" }, { "id": "317021", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "{{app/widgets//assets/ios}} folder is copied to Resources folder for all platforms, reopening to track implementing the fix.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-08-05T06:42:03.000+0000", "updated": "2014-08-05T06:42:15.000+0000" }, { "id": "318403", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/alloy/pull/506\r\n\r\nRun this from repo directory, after compilation the Resources folder should not have platform-specific folders:\r\n{code}jake app:run dir=ALOY-1002{code}\r\n\r\nThere should be no image not found error messages when running this:\r\n{code}jake app:run dir=ALOY-898{code}\r\n\r\n\r\n", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2014-08-13T08:46:35.000+0000", "updated": "2014-08-13T08:46:35.000+0000" }, { "id": "318439", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "PR merged", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-13T14:07:11.000+0000", "updated": "2014-08-13T14:07:11.000+0000" }, { "id": "323188", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed. \r\n\r\nTiSDK 3.4.0.v20140911135715\r\nAppcelerator Studio 3.4.0.201409111151 \r\nCLI 3.4.0-rc2\r\nAlloy 1.5.0-rc\r\nXcode6-beta7\r\n\r\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-09-12T02:57:03.000+0000", "updated": "2014-09-12T02:57:03.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }