{ "id": "162541", "key": "TIMOB-23765", "fields": { "issuetype": { "id": "6", "description": "gh.issue.epic.desc", "name": "Epic", "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": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-02T02:15:37.000+0000", "created": "2016-08-11T21:04:51.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T02:15:37.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": "h4. Steps to reproduce:\r\n# Use the GA environment above.\r\n# Create a new project {{appc new}}\r\n# In the app.js add the line below or follow the docs tutorial.\r\n\r\nh4. Docs\r\nhttp://docs.appcelerator.com/platform/latest/#!/guide/Windows_Runtime_Direct_API_Access\r\n\r\n\r\nh4. App.js\r\n\r\n{noformat}\r\nvar win = require('Windows.UI.Xaml.Window');\r\n{noformat}\r\n\r\nh4. Actual\r\n\r\n\r\n{noformat}\r\n[WARN] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.ApplicationModel.DataTransfer.DataPackage.cpp(224): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackage::SetUri': marked as deprecated [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[WARN] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.ApplicationModel.DataTransfer.DataPackageView.cpp(254): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackageView::GetUriAsync': marked as deprecated [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(195): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(195): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(195): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(197): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(197): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(174): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(174): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(174): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(176): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(176): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[WARN] : \"C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\WindowsHyperloop.sln\" (default target) (1) ->\r\n\"C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj.metaproj\" (default target) (2) ->\r\n\"C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj\" (default target) (4) ->\r\n(ClCompile target) -> \r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.ApplicationModel.DataTransfer.DataPackage.cpp(224): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackage::SetUri': marked as deprecated [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.ApplicationModel.DataTransfer.DataPackageView.cpp(254): warning C4973: 'Windows::ApplicationModel::DataTransfer::IDataPackageView::GetUriAsync': marked as deprecated [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : \"C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\WindowsHyperloop.sln\" (default target) (1) ->\r\n\"C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj.metaproj\" (default target) (2) ->\r\n\"C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj\" (default target) (4) ->\r\n(ClCompile target) -> \r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(195): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(195): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(195): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n[ERROR] : C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(196): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(197): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFile.cpp(197): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(174): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(174): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(174): error C2923: 'HAL::JSExport': 'StorageProvider' is not a valid template type argument for parameter 'T' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2039: 'StorageProvider': is not a member of 'Titanium::Windows::Storage' [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2065: 'StorageProvider': undeclared identifier [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2672: 'HAL::JSObject::GetPrivate': no matching overloaded function found [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(175): error C2974: 'HAL::JSObject::GetPrivate': invalid template argument for 'T', type expected [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(176): error C3536: 'result_wrapper': cannot be used before it is initialized [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\Native\\src\\Windows.Storage.StorageFolder.cpp(176): error C2227: left of '->wrap' must point to class/struct/union/generic type [C:\\Users\\Tester\\.titanium\\vsbuild\\windowsHyperloop\\win10.x86\\Native\\TitaniumWindows_Native.vcxproj]\r\n 2 Warning(s)\r\n 18 Error(s)\r\nTime Elapsed 00:05:20.49\r\n{noformat}\r\n\r\nh4. Expected\r\nNo error is shown and the application builds successfully.", "attachment": [], "flagged": false, "summary": "Windows: Direct API Access not working ", "creator": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "environment": "Winodws 10 Pro\r\nStudio: 4.7.0.201607250649\r\n
Ti SDK: 5.4.0.GA\r\n
Appc NPM: 4.2.7\r\nAppc CLI: 5.4.0\r\nNode v4.4.4 ", "comment": { "comments": [ { "id": "400255", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Pushed first working version which uses C# reflection. https://github.com/appcelerator/titanium_mobile_windows/pull/888", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-02T13:03:32.000+0000", "updated": "2016-11-02T13:03:32.000+0000" }, { "id": "400305", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Changed this ticket to \"Epic\" because this ticket is too big to tackle in one sprint. I will split some tasks related to this so we can keep track on it.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-11-03T00:00:32.000+0000", "updated": "2016-11-03T00:00:32.000+0000" }, { "id": "417023", "author": { "name": "jperez", "key": "jperez", "displayName": "Javier Perez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kota] [~emerriman] how much product documentation do we need here https://docs.appcelerator.com/platform/latest/#!/guide/Enabling_Hyperloop\r\n\r\ncan you get that going with our documentations team?\r\n\r\nThanks", "updateAuthor": { "name": "jperez", "key": "jperez", "displayName": "Javier Perez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-07T13:54:08.000+0000", "updated": "2017-04-07T13:54:08.000+0000" }, { "id": "417090", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I guess we don't need much changes in [Enabling Hyperloop|https://docs.appcelerator.com/platform/latest/#!/guide/Enabling_Hyperloop] even when we have Windows support. I will update it by myself wherever necessary. FYI I am adding Windows-specific documentations under [Hyperloop_Guides|https://docs.appcelerator.com/platform/latest/#!/guide/Hyperloop_Guides].", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-10T08:05:39.000+0000", "updated": "2017-04-10T08:05:39.000+0000" }, { "id": "417103", "author": { "name": "jperez", "key": "jperez", "displayName": "Javier Perez", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Great, thanks [~kota]", "updateAuthor": { "name": "jperez", "key": "jperez", "displayName": "Javier Perez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-10T13:24:07.000+0000", "updated": "2017-04-10T13:24:07.000+0000" }, { "id": "418548", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this as \"Fixed\", we have finished all sub-tasks, and then finally we released Hyperloop 2.1.0! (y) ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T02:15:37.000+0000", "updated": "2017-05-02T02:15:37.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }