{ "id": "110843", "key": "ALOY-577", "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": "15402", "description": "Alloy 1.2.0, concurrent with SDK 3.1.0", "name": "Alloy 1.2.0", "archived": false, "released": true, "releaseDate": "2013-08-15" }, { "id": "15571", "description": "2013 Sprint 15", "name": "2013 Sprint 15", "archived": true, "released": true, "releaseDate": "2013-07-29" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-02T21:27:50.000+0000", "created": "2013-03-08T06:39:19.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-testadded", "regression" ], "versions": [ { "id": "15758", "description": "Alloy 1.4.0", "name": "Alloy 1.4.0", "archived": false, "released": true, "releaseDate": "2014-07-17" } ], "issuelinks": [ { "id": "38032", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "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 } } } } ], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-06-02T21:27:54.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": "13603", "name": "Styling", "description": "TSS, dynamic styling, styling API" } ], "description": "h3. Steps to Reproduce\nWhen using Alloy with themes, the asset folder in the theme overrides the main asset folder as it should, but when changing theme, and the new theme does not have the same overrides as the last themes used, You find yourself with a mix of assets from the old and the new theme. \n\nh3. Actual Result\nOldt themes overrides still exists in the resources folder, wuth the new ones\n\nh3. Expected Result\nWhen changing theme, the resources folder should be cleared, so all files from old theme is removed.", "attachment": [ { "id": "48515", "filename": "actual.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T11:08:41.000+0000", "size": 167247, "mimeType": "image/png" }, { "id": "48516", "filename": "expected.png", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-02T11:08:41.000+0000", "size": 183785, "mimeType": "image/png" } ], "flagged": false, "summary": "Theme assets not removed in orphan file cleanup", "creator": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "subtasks": [], "reporter": { "name": "thomas.neerup@eg.dk", "key": "thomas.neerup@eg.dk", "displayName": "Thomas Neerup", "active": true, "timeZone": "Europe/Copenhagen" }, "environment": "Titanium Studio 3.0.2", "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 } ], "comment": { "comments": [ { "id": "262894", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/195\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-577\r\n\r\nFunctional testing should do the following:\r\n\r\n# Run the test app. The initial theme is \"red\" so you should see a red background color with 2 images. The top image should be a red [bokeh|http://en.wikipedia.org/wiki/Bokeh] image with the Alloy logo under it.\r\n# Open the config.json file and change the theme to \"blue\"\r\n# Run the app again. You should see a blue background color with 2 images. The top image should be the Alloy logo with the second blue swirl image under it.\r\n# Open the config.json and remove the theme entirely\r\n# Run the app again. You should see 2 alloy logos. Prior to this fix, one or both of the red and blue images would still be there.\r\n\r\n*NOTE:* This fix introduces an alloy build log file which makes use of the project's build folder. As a simple additional validation, do the following:\r\n\r\n# create a new alloy project\r\n# delete the project's \"build\" folder\r\n# compile alloy or do a full build\r\n# Ensure that the absence of a \"build\" folder is handled gracefully by alloy, meaning that no errors are generated and the build executes as expected.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-23T20:44:27.000+0000", "updated": "2013-07-23T20:44:27.000+0000" }, { "id": "265030", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed on iOS, Android and MobileWeb.\n\nTitanium SDK 3.1.2.v20130802180729\nAlloy 1.2.0-alpha6\nAppcelerator Studio 3.1.2.201308021524\nCLI 3.1.1\nNode 0.10.13\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-05T23:59:43.000+0000", "updated": "2013-08-05T23:59:43.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }