Power-Maverick / DataverseDevTools-VSCode

The all-in-one tool to develop code for Dataverse/Dynamics 365. Helps you connect to a Dataverse environment, generate TypeScript definitions for entities, create a different type of Dataverse-specific projects, and much more.
https://marketplace.visualstudio.com/items?itemName=danish-naglekar.dataverse-devtools
MIT License
55 stars 15 forks source link

[Bug]: Keyboard Shortcut to Upload & Publish Web Resource does not work #155

Closed geo-bontognali closed 6 months ago

geo-bontognali commented 7 months ago

What happened?

I setup a keyboard shortcut (ctrl+alt+s) to upload and publish a webresource. While clicking the entry in the menu works flawlessly, the shortcut throws (see log output).

What version of the tool are you using?

2.2.0

What version of Visual Studio Code are you running?

1.85.2

Any relevant session id from VSCode?

ede18aa8-abc1-4a5b-9c32-4d6c1bb355221706279346054

Relevant log output

VSCode version: 1.85.2. 
Extension version: 2.2.0. 
Error occured in uploadWebResource command. 
Error code: undefined. 
Error message: Cannot read properties of undefined (reading 'fsPath'). 
Error stack: TypeError: Cannot read properties of undefined (reading 'fsPath')
    at c:\Users\GeoBontognali\.vscode\extensions\danish-naglekar.dataverse-devtools-2.2.0\dist\extension.js:2:706729
    at Generator.next (<anonymous>)
    at c:\Users\GeoBontognali\.vscode\extensions\danish-naglekar.dataverse-devtools-2.2.0\dist\extension.js:2:703425
    at new Promise (<anonymous>)
    at o (c:\Users\GeoBontognali\.vscode\extensions\danish-naglekar.dataverse-devtools-2.2.0\dist\extension.js:2:703170)
    at callback (c:\Users\GeoBontognali\.vscode\extensions\danish-naglekar.dataverse-devtools-2.2.0\dist\extension.js:2:706663)
    at d.h (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:140094)
    at d.$executeContributedCommand (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:141:140954)
    at l.S (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:10829)
    at l.Q (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:10595)
    at l.M (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:9685)
    at l.L (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:8764)
    at f.value (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:150:7567)
    at n.y (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:1902)
    at n.fire (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:2119)
    at o.fire (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:103:14039)
    at f.value (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:7903)
    at n.y (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:1902)
    at n.fire (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:80:2119)
    at o.fire (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:103:14039)
    at MessagePortMain.<anonymous> (c:\Users\GeoBontognali\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:171:6183)
    at MessagePortMain.emit (node:events:513:28)
    at Object.MessagePortMain._internalPort.emit (node:electron/js2c/utility_init:2:367).
power-maverick-bot[bot] commented 7 months ago

Thanks for opening your first issue here! Please make sure you have given us as much context as possible. One of the repo maintainer will respond as soon as possible.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been stalled for 5 days with no activity.