{ "id": "152192", "key": "TIMOB-19745", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-20T03:55:01.000+0000", "created": "2015-10-19T23:59:00.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "49399", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "149784", "key": "CLI-737", "fields": { "summary": "Files are encrypted on first build when building with development deploy type", "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-10-30T20:03:35.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": "The CLI can hang if {{jdkInfo}} is {{null}} during encryption.\r\n\r\nThis usually happens on the first build or re-builds when the {{encryptJS}} flags gets set to {{true}} after the {{validate}} build command [\\[1\\]|https://github.com/appcelerator/titanium_mobile_windows/blob/master/cli/commands/_build/validate.js#L155].\r\n\r\nThe reason {{encryptJS}} gets set to {{true}} is due to {{buildVerify}} [\\[2\\]|https://github.com/appcelerator/appc-cli-titanium/blob/master/hook/titanium.js#L207].\r\nIf {{buildVerify}} is successful and we are online the {{encryptJS}} flag will always be set to {{true}} regardless of deploy type.\r\nThis is why Windows projects are always encrypted on first build or re-builds even if they are being deployed for development.", "attachment": [], "flagged": false, "summary": "Windows: CLI can hang when encrypting files due to invalid jdkInfo object", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 503, "state": "closed", "name": "2015 Sprint 21 SDK", "startDate": "2015-10-10T00:32:18.011Z", "endDate": "2015-10-24T00:32:00.000Z", "completeDate": "2015-10-26T02:20:47.579Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "367230", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR : https://github.com/appcelerator/titanium_mobile_windows/pull/454", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-20T00:08:14.000+0000", "updated": "2015-10-20T00:08:14.000+0000" }, { "id": "368489", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc Core: 5.1.0-41\r\nAppc NPM: 4.2.1\r\nTi SDK: 5.1.0.v20151028190028\r\n\r\nWhen building a newly created project for Windows emulator for the first time the encryption of files does no longer causes the CLI process to hang.\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-10-30T20:03:29.000+0000", "updated": "2015-10-30T20:03:29.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }