{ "id": "149361", "key": "TIMOB-19135", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-09T23:02:28.000+0000", "created": "2015-07-01T22:47:47.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-4.1.0" ], "versions": [ { "id": "16723", "description": "Windows Platform Support, ListView updates, Vector overlays in maps", "name": "Release 4.1.0", "archived": false, "released": true, "releaseDate": "2015-07-08" } ], "issuelinks": [ { "id": "48305", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "149421", "key": "TIMOB-19152", "fields": { "summary": "Windows: App crashes on second launch when encryption is enabled", "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": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-09T23:09:34.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen building a project to device that includes a module and the assets have been encrypted when the app requires the module the app will throw the error as shown in the attached screenshot.\r\n\r\nWhen I try this on emulator with a deploy type of production the app crashes on launch, I believe this issue is the root cause too\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Create a project, add ti.cloud and require it in\r\n2. Build the project for using {{appc run -p windows -T wp-device -D development}}\r\n2. Build the project for using {{appc run -p windows -T wp-emulator}}\r\n\r\nh5.Actual result\r\n\r\nWhen launching the app, an error will be thrown on startup\r\n\r\nh5.Expected result\r\n\r\nThe app should launch successfully ", "attachment": [ { "id": "56054", "filename": "i8MFQMo.png", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-01T22:02:44.000+0000", "size": 85220, "mimeType": "image/png" } ], "flagged": false, "summary": "Windows: Building to device with ti.cloud errors on launch if encryption is enabled", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 8.1\r\nAppc CLI (NPM): 4.1.0-1\r\nAppc CLI (Registry): 4.1.0-4\r\nTi SDK: 4.1.0.v20150701120122\r\n", "closedSprints": [ { "id": 443, "state": "closed", "name": "2015 Sprint 14 Windows", "startDate": "2015-07-06T04:01:52.896Z", "endDate": "2015-07-19T03:59:00.000Z", "completeDate": "2015-07-20T22:18:14.505Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "356635", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "I'm guessing ti.cloud's json/JS files are unencrypted, and we're trying to decrypt them on load/require? How can we tell if a file is encrypted or not to know...?", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2015-07-01T23:14:43.000+0000", "updated": "2015-07-01T23:14:43.000+0000" }, { "id": "357404", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-09T23:09:23.000+0000", "updated": "2015-07-09T23:09:23.000+0000" }, { "id": "357405", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI (NPM): 4.1.0\r\nAppc CLI (Registry): 4.1.0\r\nTi SDK: 4.1.0.GA\r\n\r\nWhen building to device with ti.cloud the app now loads with no issues\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-09T23:09:30.000+0000", "updated": "2015-07-09T23:09:30.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }