{ "id": "159746", "key": "TIMOB-23253", "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": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" }, { "id": "18049", "name": "windowslib 0.4.9", "archived": false, "released": true, "releaseDate": "2016-04-19" }, { "id": "18069", "name": "windowslib 0.4.10", "archived": false, "released": true, "releaseDate": "2016-04-27" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-27T20:36:20.000+0000", "created": "2016-04-20T21:40:50.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51518", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159884", "key": "TISTUD-8475", "fields": { "summary": "Unable to build to Windows device", "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": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-05-12T22:27:42.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 to wp-device and selecting the second option in the prompt, the build will fail with {{\\[ERROR] Unable to find an Windows Phone device with the UDID \"undefined\"}}. Although this second option is more user friendly as it contains information about the device being built to, rather than just {{Device}},we should not present the option if it will fail the build\r\n\r\n*To workaround this issue just select the first option*\r\n\r\nh5.Steps to reproduce\r\n\r\n# Build a project using {{appc run -p windows -T wp-device}} and select option 2\r\n\r\nh5.Actual result\r\n\r\n# The build will fail with {{\\[ERROR] Unable to find an Windows Phone device with the UDID \"undefined\"}}\r\n\r\nh5.Expected result\r\n\r\nThe build should not fail, we should no present the second option if it will fail the build", "attachment": [], "flagged": false, "summary": "Windows: Build errors when building to device and selecting second option in device prompt", "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 10 Pro\r\nVisual Studio 2015 Community Update 2\r\nAppc Core: 5.3.0-26\r\nAppc NPM: 4.2.5-3\r\nTi SDK: 5.3.0.v20160420090405", "closedSprints": [ { "id": 624, "state": "closed", "name": "2016 Sprint 09 SDK", "startDate": "2016-04-23T00:39:45.452Z", "endDate": "2016-05-07T00:39:00.000Z", "completeDate": "2016-05-09T03:43:10.279Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "383564", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~eharris] Do you have the output for the options and from {{ti info -o json}} to take a look? It'd be good to see what we're offering the user as a valid value and what the model of the device looks like in our ti info model.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-21T18:43:17.000+0000", "updated": "2016-04-21T18:43:17.000+0000" }, { "id": "383565", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "The relevant section of the info for me:\r\n{code}\r\n\"devices\": [\r\n {\r\n \"name\": \"Device\",\r\n \"udid\": 0,\r\n \"index\": 0,\r\n \"version\": \"10.0\",\r\n \"wpsdk\": \"10.0\"\r\n },\r\n {\r\n \"name\": \"Windows 10 Mobile Device\",\r\n \"udid\": \"00000045-8aab-6667-0000-000000000000\",\r\n \"index\": 0,\r\n \"wpsdk\": null,\r\n \"ip\": \"127.0.0.1\"\r\n }\r\n ]\r\n{code}", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-21T19:04:34.000+0000", "updated": "2016-04-21T19:04:34.000+0000" }, { "id": "383567", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~cwilliams] here you go, pretty much matches your output\r\n\r\n{code}\r\n\"devices\": [\r\n {\r\n \"name\": \"Device\",\r\n \"udid\": 0,\r\n \"index\": 0,\r\n \"version\": \"10.0\",\r\n \"wpsdk\": \"10.0\"\r\n },\r\n {\r\n \"name\": \"Lumia 930 (RM-1045)\",\r\n \"udid\": \"00000015-4e57-1877-0000-000000000000\",\r\n \"index\": 0,\r\n \"wpsdk\": null,\r\n \"ip\": \"127.0.0.1\"\r\n }\r\n ]\r\n{code}\r\n\r\n", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-04-21T19:11:32.000+0000", "updated": "2016-04-21T19:11:32.000+0000" }, { "id": "385590", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 10 Pro\r\nVisual Studio 2015 Community Update 2\r\nAppc Core: 5.3.0-43\r\nAppc NPM: 4.2.5-5\r\nTi SDK: 5.3.0.v20160512105713\r\n\r\nWhen building to a Windows device there is no longer a duplicate entry for the device and the process no longer prompts to select a device, the process is successful for both 8.1 and 10.0 phones. Filed TIMOB-23371 to improve handling of multiple devices.\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-05-12T22:27:38.000+0000", "updated": "2016-05-12T22:27:38.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }