{ "id": "163005", "key": "TIMOB-23866", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-08T01:39:29.000+0000", "created": "2016-09-05T13:43:26.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [ { "id": "52625", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "159342", "key": "TIMOB-23156", "fields": { "summary": "Windows: Automatically add required Capabilities to Manifest based on API usage", "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": "None", "id": "6" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-09-08T16:20:32.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 the CLI generates capabilities from API usage if a user is building for {{--wp-sdk 8.1}} which is the default SDK version, then the build will fail with the below\r\n\r\n{code}\r\n[ERROR] C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\Package.appxmanifest(55,6): error APPX1402: Content of the file 'C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\Package.appxmanifest' is not well-formed XML. 'uap' is an undeclared prefix. Line 55, position 6. [C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\PpBootTC.vcxproj]\r\n[ERROR] \"C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\PpBootTC.sln\" (default target) (1) ->\r\n\"C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\PpBootTC.vcxproj.metaproj\" (default target) (2) ->\r\n\"C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\PpBootTC.vcxproj\" (default target) (6) ->\r\n(_ValidatePresenceOfAppxManifestItems target) ->\r\n C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\Package.appxmanifest(55,6): error APPX1402: Content of the file 'C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\Package.appxmanifest' is not well-formed XML. 'uap' is an undeclared prefix. Line 55, position 6. [C:\\Users\\ewan\\.titanium\\vsbuild\\ppBootTC\\phone.ARM\\PpBootTC.vcxproj]\r\n\r\n 0 Warning(s)\r\n 1 Error(s)\r\n\r\nTime Elapsed 00:00:30.66\r\n{code}\r\n\r\nThis is because the {{uap:Capability}} is not valid for 8.1 SDK\r\n\r\nh5.Steps to reproduce\r\n\r\n# Add the following to your app,js {{Titanium.Media.openPhotoGallery(\\{mediaTypes: \\[Ti.Media.MEDIA_TYPE_PHOTO\\]\\});}}\r\n# Build using Windows 8.1 SDK {{appc run -p windows -T wp-device --build-only}}\r\n\r\nh5,Actual result\r\n\r\nThe build will error out with the above error\r\n\r\nh5.Expected result\r\n\r\nBuild should not error out, correct capability should be used", "attachment": [], "flagged": false, "summary": "Windows: uap capability included when building for 8.1", "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": "OS: Windows 10 Pro\r\nAppc core: 6.0.0-38\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160904203840", "closedSprints": [ { "id": 704, "state": "closed", "name": "2016 Sprint 18 SDK", "startDate": "2016-08-27T00:18:36.960Z", "endDate": "2016-09-10T00:18:00.000Z", "completeDate": "2016-09-09T20:26:13.865Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "395560", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Should be fixed by commits along with TIMOB-23156 .", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-08T01:39:30.000+0000", "updated": "2016-09-08T01:39:30.000+0000" }, { "id": "395608", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nOS: Microsoft Windows 10 Pro 10.0.14393\r\nAppc core: 6.0.0-38\r\nAppc NPM: 4.2.8-6\r\nTi SDK: 6.0.0.v20160908065418\r\nAppc Studio: 4.8.0.201609070852\r\nLumia 520 8.1\r\n\r\nuap capability is no longer included when building for 8.1\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-09-08T16:20:24.000+0000", "updated": "2016-09-08T16:20:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }