Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if add space before "http" in linked template uri #1212

Closed
StephenWeatherford opened this issue Feb 25, 2021 · 4 comments
Closed

Error if add space before "http" in linked template uri #1212

StephenWeatherford opened this issue Feb 25, 2021 · 4 comments

Comments

@StephenWeatherford
Copy link
Contributor

Action: onTemplateGraphAvailable
Error type: Error
Error Message: [UriError]: Scheme contains illegal characters.

Version: 0.15.0-alpha2
OS: darwin
OS Release: 19.6.0
Product: Visual Studio Code - Insiders
Product Version: 1.54.0-insider
Language: en

Call Stack
D extensionHostProcess.js:56:42271
new f extensionHostProcess.js:56:43204
new m extensionHostProcess.js:56:44834
Function.parse extensionHostProcess.js:56:43963
Object.getParameterDefinitionsFromLinkedTemplate getParameterDefinitionsFromLinkedTemplate.js:11:78
LinkedTemplateScope.assignLinkedFileReferences templateScopes.js:350:86
Object.assignTemplateGraphToDeploymentTemplate linkedTemplates.js:144:27
AzureRMTools.js:1542:43
Object.callWithTelemetryAndErrorHandlingSync vscode-azureextensionui/callWithTelemetryAndErrorHandling.js:53:16
AzureRMTools.onTemplateGraphAvailable AzureRMTools.js:1528:35
p.fire extensionHostProcess.js:55:1856
startArmLanguageServer.js:315:46
startArmLanguageServer.js:12:71
startArmLanguageServer.js:8:12
startArmLanguageServer.js:314:105
Object.callWithTelemetryAndErrorHandlingSync vscode-azureextensionui/callWithTelemetryAndErrorHandling.js:53:16
onNotifyTemplateGraph startArmLanguageServer.js:314:31
startArmLanguageServer.js:211:21
startArmLanguageServer.js:12:71
startArmLanguageServer.js:8:12
startArmLanguageServer.js:210:96
handleNotification vscode-jsonrpc/main.js:489:43
processMessageQueue vscode-jsonrpc/main.js:260:17
Immediate._onImmediate vscode-jsonrpc/main.js:247:13
processImmediate timers.js:456:21
process.callbackTrampoline async_hooks.js:120:14
@StephenWeatherford StephenWeatherford added this to the 0.15.0 milestone Feb 25, 2021
@StephenWeatherford
Copy link
Contributor Author

Also:

"templateLink": {
"uri": "file:hello",
"contentVersion": "1.0.0.0"
},

@StephenWeatherford
Copy link
Contributor Author

And worse:

"uri": "http:>"

@StephenWeatherford
Copy link
Contributor Author

' httzp:'

@StephenWeatherford
Copy link
Contributor Author

Fixed by #1217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant