Providers without metadata service or serverInfo shouldn't break dashboard (#1761)

- Fix a number of issues that arose while testing a provider without a metadata service or serverInfo object returned via DMP calls. These should be optional services/features and we should be resilient to them not existing. In most places we already have these checks
- This does not cover a number of "improvement" scenarios, such as filtering extension tabs by provider, and defaulting any tabs that don't specify a provider to be MSSQL. This and some other features to ensure things make sense will be implemented in separate PRs but this unblocked the scenario
This commit is contained in:
Kevin Cunnane
2018-06-27 13:40:37 -07:00
committed by GitHub
parent f69e31b0d5
commit 472233d9a7
5 changed files with 16 additions and 10 deletions

View File

@@ -166,7 +166,6 @@ export class TasksWidget extends DashboardWidget implements IDashboardWidget, On
}
public runTask(task: ICommandAction) {
let serverInfo = this._bootstrap.connectionManagementService.connectionInfo.serverInfo;
this.commandService.executeCommand(task.id, this._profile);
}