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 while trying to draw 2 different areas. #69

Closed
alepuccetti opened this issue Oct 2, 2017 · 5 comments
Closed

Error while trying to draw 2 different areas. #69

alepuccetti opened this issue Oct 2, 2017 · 5 comments

Comments

@alepuccetti
Copy link

Setup:
I am using kibana 5.6.0 and I cannot update to 5.6.1 because I am using search guard which is compatible with 5.6.0. I checked the difference between 5.6.0 and 5.6.1 and the code difference is minimal and, for my understanding, it should not be related to my issue.

I do not know if it is a version incompatibility issue (I think this is unlikely) or a different issue.

I based my installation process on the answer on this issue #46

Error:

Fatal Error
TypeError: queryFilter.updateFilter is not a function. (In ‘queryFilter.updateFilter({model:{bool:{should:geoFilters}},source:existingFilter,type:type,alias:filterAlias(field,geoFilters.length)})‘, ‘queryFilter.updateFilter’ is undefined) (https://example.com/bundles/kibana.bundle.js?v=15523:300)
Version: 5.6.0
Build: 15523
Error: TypeError: queryFilter.updateFilter is not a function. (In ‘queryFilter.updateFilter({model:{bool:{should:geoFilters}},source:existingFilter,type:type,alias:filterAlias(field,geoFilters.length)})‘, ‘queryFilter.updateFilter’ is undefined) (https://exmaple.com/bundles/kibana.bundle.js?v=15523:300)
onerror@https://example.com/bundles/commons.bundle.js?v=15523:90:22037
Fatal Error
IndexSizeError (DOM Exception 1): The index is not in the allowed range. (https://example.com/bundles/kibana.bundle.js?v=15523:119)
Version: 5.6.0
Build: 15523
Error: IndexSizeError (DOM Exception 1): The index is not in the allowed range. (https://example.com/bundles/kibana.bundle.js?v=15523:119)
onerror@https://example.com/bundles/commons.bundle.js?v=15523:90:22037
Fatal Error
TypeError: null is not an object (evaluating ‘parent.clientWidth’) (https://example.com/bundles/kibana.bundle.js?v=15523:298)
Version: 5.6.0
Build: 15523
Error: TypeError: null is not an object (evaluating ‘parent.clientWidth’) (https://example.com/bundles/kibana.bundle.js?v=15523:298)
onerror@https://example.com/bundles/commons.bundle.js?v=15523:90:22037
@JacobBrandt
Copy link
Collaborator

It's a bug. The updateFilter method mentioned in the error has been removed from the Kibana baseline. We'll have to update filters with our own routine.

@alepuccetti
Copy link
Author

I see, giving a second look to the kibana commits I see the change. I do not know much of JS, otherwise, I would try to fix it myself.

@alepuccetti
Copy link
Author

@JacobBrandt any idea of if/when this will be fixed? This break one of the main plugin functionality in kibana.

@alepuccetti
Copy link
Author

This seems to be a breaking change. Any idea when this will be fixed?

@nreese nreese closed this as completed in 5fbd2c5 Oct 20, 2017
@alepuccetti
Copy link
Author

Thank you 😉

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

No branches or pull requests

2 participants