missed "datasource: null," parameter in panelDefaults for table panel #5999
Closed
Description
opened on Sep 9, 2016
- I'm submitting a ...
- [ x ] Bug report
when switching from default (graphite) datasource to Mixed datasource in Table panel - it throws an error.
Plugin componnet error Object {message: "Failed to find exported plugin component for query-ctrl-mixed"}
after switching back to default (graphite) and then back to Mixed - error doesn't appear.
root cause of this behavior is in
commit 16dbf31
missed "datasource: null," parameter in panelDefaults for table panel (public/app/plugins/panel/table/module.ts)
while
setDatasource(datasource)
function in public/app/features/panel/metrics_panel_ctrl.ts
checks that
... target.datasource = this.panel.datasource; if (target.datasource === null) {...
this property must be null (but it is "undefined" because of missed in panelDefaults ).
Metadata
Assignees
Labels
No labels
Activity