Skip to content

missed "datasource: null," parameter in panelDefaults for table panel #5999

Closed
@beaverdude

Description

  • 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 ).

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions