{ "id": "149403", "key": "TIMOB-19148", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-27T23:53:04.000+0000", "created": "2015-07-02T20:23:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "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": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-09-03T20:45:28.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "h5.Description\r\n\r\nWhen a build fails in the MSBuild phase the errors are logged in the CLI at the warn level see below for an example \r\n\r\n{code}\r\n[WARN] C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2247,9): error APPX0105: Cannot import the key file 'C:\\Users\\Windo_000\\Documents\\Appcelerator_Studio_Workspace\\classicProject\\generated.pfx'. The key file may be password protected. To correct this, try to import the certificate manually into the current user's personal certificate store. [C:\\Users\\Windo_000\\AppData\\Local\\Temp\\classicPro\r\nject\\store.x86\\ClassicProject.vcxproj]\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2247,9): error APPX0102: A certificate with thumbprint 'undefined' that is specified in the project cannot be found in the certificate store. Please specify a valid thumbprint in the projec\r\nt file. [C:\\Users\\Windo_000\\AppData\\Local\\Temp\\classicProject\\store.x86\\ClassicProject.vcxproj]\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2247,9): error APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\\Users\\Wind\r\no_000\\AppData\\Local\\Temp\\classicProject\\store.x86\\ClassicProject.vcxproj]\r\n{code}\r\n\r\nErrors should be surfaced to the error level of logging\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Build a project using appc run -p windows -T ws-local\r\n2. Either provide a cert of generate one, when entering the password enter an incorrect password\r\n\r\nh5.Actual result\r\n\r\nThe build will error and the errors will be surfaced to the warn log level\r\n\r\nh5.Expected result\r\n\r\nThe errors should surface to the error log level", "attachment": [], "flagged": false, "summary": "Windows: Errors thrown by MSBuild are logged at the warn level", "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.v20150702030940", "closedSprints": [ { "id": 453, "state": "closed", "name": "2015 Sprint 15 Windows", "startDate": "2015-07-20T04:01:11.596Z", "endDate": "2015-08-02T03:59:00.000Z", "completeDate": "2015-08-03T23:03:05.129Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "358387", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_windows/pull/392", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-07-27T22:15:34.000+0000", "updated": "2015-07-27T22:15:34.000+0000" }, { "id": "362203", "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 Core: 5.0.0-33\r\nAppc CLI NPM: 4.2.0-1\r\nTitanium SDK: 5.0.0.v20150902095518\r\n\r\nErrors from MSBuild are now thrown at the error level\r\n{code}\r\n[ERROR] \"C:\\Users\\Ewan\\AppData\\Local\\Temp\\preProdTeamAlloy\\store.x86\\PreProdTeamAlloy.sln\" (default target) (1) ->\r\n \"C:\\Users\\Ewan\\AppData\\Local\\Temp\\preProdTeamAlloy\\store.x86\\PreProdTeamAlloy.vcxproj.metaproj\" (default target) (2) ->\r\n \"C:\\Users\\Ewan\\AppData\\Local\\Temp\\preProdTeamAlloy\\store.x86\\PreProdTeamAlloy.vcxproj\" (default target) (6) ->\r\n (_CreateMainPackage target) ->\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2247,9): error APPX0105: Cannot import the key file 'F\r\n:\\Documents\\Appcelerator_Studio_Workspace\\preProdTeamAlloy\\generated.pfx'. The key file may be password protected. To correct this, try to import the certificate man\r\nually into the current user's personal certificate store. [C:\\Users\\Ewan\\AppData\\Local\\Temp\\preProdTeamAlloy\\store.x86\\PreProdTeamAlloy.vcxproj]\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2247,9): error APPX0102: A certificate with thumbprint\r\n 'undefined' that is specified in the project cannot be found in the certificate store. Please specify a valid thumbprint in the project file. [C:\\Users\\Ewan\\AppData\r\n\\Local\\Temp\\preProdTeamAlloy\\store.x86\\PreProdTeamAlloy.vcxproj]\r\n C:\\Program Files (x86)\\MSBuild\\Microsoft\\VisualStudio\\v12.0\\AppxPackage\\Microsoft.AppXPackage.Targets(2247,9): error APPX0107: The certificate specified is\r\nnot valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478. [C:\\Users\\Ewan\\AppData\\Local\\Temp\\preProdTea\r\nmAlloy\\store.x86\\PreProdTeamAlloy.vcxproj]\r\n{code}\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-09-03T20:45:19.000+0000", "updated": "2015-09-03T20:45:19.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }