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

Better error handling when you click on the Export Everything button when you do not have any saved objects. #6779

Closed
rashmivkulkarni opened this issue Apr 5, 2016 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@rashmivkulkarni
Copy link
Contributor

Steps to reproduce:

  • Install 5.0-alpha1 RC2 and X-Pack in ES and Kibana per ticket elastic/dev#653
  • Configure Kibana to talk to ES
  • Login as the user which you have configured as per security docs. ( kibana_user)
  • Navigate to Visualizations and click on the Objects tab .
  • If you DONOT have any saved objects( such as saved searches) to edit and if you click on the
    Export Everything button, you see the following error which can be handled more gracefully conveying the actual message.
Uncaught TypeError: Cannot read property 'hits' of undefined (http://0.0.0.0:5601/bundles/kibana.bundle.js?v=11105:60)
Version: 5.0.0-snapshot
Build: 11105
Error: Uncaught TypeError: Cannot read property 'hits' of undefined (http://0.0.0.0:5601/bundles/kibana.bundle.js?v=11105:60)
    at window.onerror (http://0.0.0.0:5601/bundles/commons.bundle.js?v=11105:86:18668)

screen shot 2016-04-04 at 10 39 36 pm

@rashmivkulkarni rashmivkulkarni added the bug Fixes for quality problems that affect the customer experience label Apr 5, 2016
@spalger
Copy link
Contributor

spalger commented Apr 5, 2016

Thanks @Rasroh, fixed this in #6774

@spalger spalger closed this as completed Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience
Projects
None yet
Development

No branches or pull requests

2 participants