{ "id": "155839", "key": "ALOY-1373", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-03-18T22:38:57.000+0000", "created": "2016-03-18T22:34:51.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "qe-5.1.2" ], "versions": [ { "id": "17974", "name": "alloy 1.8.0", "archived": false, "released": true, "releaseDate": "2016-03-16" } ], "issuelinks": [ { "id": "51097", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "155573", "key": "ALOY-1365", "fields": { "summary": "Improve how Alloy works with i18n and platform folders", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2018-03-07T22:28:26.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": "14203", "name": "I18N", "description": "Internationalization" } ], "description": "Regarding the changes made in ALOY-1365: If a user adds resources to their /platform or /i18n folders after building once when they were empty, their contents can be lost.\r\n\r\n*Steps to reproduce issue*\r\n1. Create a new project with {{ti create}}\r\n2. {{cd}} into the project\r\n3. Run {{alloy new}}\r\n4. Build the project with {{ti build}} (/platform and /i18n folders are created)\r\n5. Add resources to the /platform and /i18n folders\r\n6. Build the project again with {{ti build}}\r\n\r\n*Expected results*\r\nThe /project and /i18n folder contents remain and/or are moved to the app/platform and app/i18n folders. May also get the message to move the root folders inside the app directory.\r\n\r\n*Actual Results*\r\nThe contents of the folders are deleted and no message is given.", "attachment": [], "flagged": false, "summary": "/platform and /i18n folder contents can be lost on build", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "MacOS 10.11.3 (15D21)\r\nTi SDK 5.2.1.v20160317105842\r\nTi CLI 5.0.6\r\nAlloy 1.8.0\r\nXcode 7.2.1 (7C1002)", "comment": { "comments": [ { "id": "380150", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "The {{/platform}} and {{/i18n}} directories will only be deleted if they contain an {{alloy_generated}} file, which clearly states that this folder is going to be deleted next build. This behavior is by design.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-03-18T22:38:57.000+0000", "updated": "2016-03-18T22:38:57.000+0000" }, { "id": "435336", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If this is incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T22:28:26.000+0000", "updated": "2018-03-07T22:28:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }