Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

Click on value causing fatal error #11

Open
v01t opened this issue Sep 26, 2018 · 1 comment
Open

Click on value causing fatal error #11

v01t opened this issue Sep 26, 2018 · 1 comment

Comments

@v01t
Copy link

v01t commented Sep 26, 2018

Clicking on percentage value causing kibana fatal error:

Version: 6.3.0
Build: 17230

Error: Uncaught TypeError: _this.props.vis.API.events.addFilter is not a function (http://localhost:5601/bundles/vendors.bundle.js:141) at window.onerror (http://localhost:5601/bundles/commons.bundle.js:3:779751)

Console:
Error: Uncaught TypeError: _this.props.vis.API.events.addFilter is not a function (http://localhost:5601/bundles/vendors.bundle.js:141) at window.onerror (commons.bundle.js:3) fatalError @ commons.bundle.js:3 window.onerror @ commons.bundle.js:3 vendors.bundle.js:141 Uncaught TypeError: _this.props.vis.API.events.addFilter is not a function at Object.MetricPercentVisComponent._this._filterBucket [as onFilter] (commons.bundle.js:3) at MetricPercentVisValue._this.onClick (commons.bundle.js:3) at Object.Ja (vendors.bundle.js:141) at Object.invokeGuardedCallback (vendors.bundle.js:149) at Object.invokeGuardedCallbackAndCatchFirstError (vendors.bundle.js:149) at Za (vendors.bundle.js:141) at cb (vendors.bundle.js:141) at gb (vendors.bundle.js:141) at Array.forEach (<anonymous>) at ab (vendors.bundle.js:141) at lb (vendors.bundle.js:141) at sd (vendors.bundle.js:149) at rd (vendors.bundle.js:141) at batchedUpdates (vendors.bundle.js:141) at tc (vendors.bundle.js:141) at vd (vendors.bundle.js:141) MetricPercentVisComponent._this._filterBucket @ commons.bundle.js:3 MetricPercentVisValue._this.onClick @ commons.bundle.js:3 Ja @ vendors.bundle.js:141 invokeGuardedCallback @ vendors.bundle.js:149 invokeGuardedCallbackAndCatchFirstError @ vendors.bundle.js:149 Za @ vendors.bundle.js:141 cb @ vendors.bundle.js:141 gb @ vendors.bundle.js:141 ab @ vendors.bundle.js:141 lb @ vendors.bundle.js:141 sd @ vendors.bundle.js:149 rd @ vendors.bundle.js:141 batchedUpdates @ vendors.bundle.js:141 tc @ vendors.bundle.js:141 vd @ vendors.bundle.js:141 commons.bundle.js:3 Uncaught Error: Uncaught TypeError: _this.props.vis.API.events.addFilter is not a function (http://localhost:5601/bundles/vendors.bundle.js:141) at window.onerror (commons.bundle.js:3)

disabling click action should resolve that problem

Thanks for a great plugin!

@amannocci
Copy link
Owner

Hello @v01t , thanks you for your contribution.
I fix the problem for Kibana 6.3.x.
Tell me if that's OK for you now.

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

No branches or pull requests

2 participants