{ "id": "159584", "key": "TIMOB-23217", "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-04-20T14:56:18.000+0000", "created": "2016-04-14T18:24:54.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.3.0", "regression" ], "versions": [ { "id": "17707", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [ { "id": "51350", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "159402", "key": "TIMOB-23171", "fields": { "summary": "Cannot package Alloy app for dist-winstore ", "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": "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-04-20T14:56:22.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 attempting to package an app for dist-winstore using the 8.1 Windows SDK the build will fail with the error below\r\n\r\n{code}\r\n[ERROR] C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Package.appxmanifest(39,10): error APPX1674: App manifest defines lock screen notifications without specifying one of appropriate background task types: timer, control channel, push notification, or location. [C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Pkgtest.vcxproj]\r\n[ERROR] \"C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Pkgtest.vcxproj.metaproj\" (default target) (2) ->\r\n\"C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Pkgtest.vcxproj\" (default target) (6) ->\r\n(_ValidateAppxManifest target) ->\r\n C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Package.appxmanifest(39,10): error APPX1674: App manifest defines lock screen notifications without specifying one of appropriate background task types: timer, control channel, push notification, or location. [C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Pkgtest.vcxproj]\r\n\r\n 0 Warning(s)\r\n 1 Error(s)\r\n\r\nTime Elapsed 00:00:14.76\r\n{code}\r\n\r\n*This is a regression from 5.2.2.GA*\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Package an application using {{appc run -p windows -T dist-winstore}} or {{appc run -p windows -T dist-winstore --wp-sdk 8.1}}\r\n\r\nh5.Actual result\r\n\r\nThe app fails to package with the error above\r\n\r\nh5.Expected result\r\n\r\nThe app should successfully package", "attachment": [], "flagged": false, "summary": "Windows: Packaging for dist-winstore with 8.1 SDK fails", "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-12\r\nAppc NPM: 4.2.5-1\r\nTi SDK: 5.3.0.v20160414094426", "closedSprints": [ { "id": 618, "state": "closed", "name": "2016 Sprint 08 SDK", "startDate": "2016-04-09T00:30:18.262Z", "endDate": "2016-04-23T00:30:00.000Z", "completeDate": "2016-04-25T02:38:28.511Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "382818", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "Weird, never ran into this before. I'm guess maybe this is related? https://social.msdn.microsoft.com/Forums/vstudio/en-US/f0339531-123d-4764-927d-8ed9251ce65a/why-do-i-have-to-specify-a-background-task?forum=csharpgeneral\r\n\r\nIt's possible the app you used had an app image that we could use for a badge, so we generated one and stuck a reference to it in the manifest and then Windows went nuts thinking that meant you had a background task?\r\n\r\nCan you attach/paste the contents of C:\\Users\\Ewan\\.titanium\\vsbuild\\pkgtest\\store.x86\\Package.appxmanifest ?", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-15T13:28:09.000+0000", "updated": "2016-04-15T13:28:09.000+0000" }, { "id": "382821", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "[~eharris] So I put up a PR for the fix, but I'm not 100% sure if this will do it or not. One easy way to test out if it will is to edit the package manifest template we use for 8.1 store apps. In the SDK's windows/templates/build/Package.store.appxmanifest.in.ejs file, remove the line:\r\n{code:xml}\r\n \r\n{code}\r\n\r\nAnd then try and clean/rebuild the project and see if that fixes it. If so, the PR fix should work.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-04-15T13:37:49.000+0000", "updated": "2016-04-15T13:37:49.000+0000" }, { "id": "383038", "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-18\r\nAppc NPM: 4.2.5-2\r\nTi SDK: 5.3.0.v20160418111755\r\nAppc Studio: 4.6.0.201604180847\r\n\r\nWhen packaging using {{appc run -p windows -T dist-winstore --wp-sdk 8.1}} the appxbundle is now successfully created.\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2016-04-18T23:30:46.000+0000", "updated": "2016-04-18T23:30:46.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }