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

Filters panel is not showing when assigned filter is missing its index #13989

Closed
z-vr opened this issue Sep 14, 2017 · 1 comment
Closed

Filters panel is not showing when assigned filter is missing its index #13989

z-vr opened this issue Sep 14, 2017 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience

Comments

@z-vr
Copy link

z-vr commented Sep 14, 2017

Kibana version: 5.6.0

Elasticsearch version: 5.6.0

Server OS version: macOS 10.12.2

Browser version: Chrome 60

Browser OS version: macOS 10.12.2

Original install method (e.g. download page, yum, from source, etc.): Homebrew

Description of the problem including expected versus actual behavior:

Filters panel does not show in Discover tab when a saved search has a filter added which is pointing to a missing index.

Steps to reproduce:

  1. Create an index.
  2. Search for some data and add a filter.
  3. Delete the index.
  4. Create a new index with a different ID.
  5. Edit search saved object and update its index ID in kibanaSavedObjectMeta.searchSourceJSON, but don't update index ID in filters.
  6. Open the search and don't see filters panel, be confused.

Errors in browser console (if relevant):

commons.bundle.js?v=1:38 Error: Could not locate that index-pattern (id: AV58hPtSCNEdHp4Q6zj6), [click here to re-create it](#/management/kibana/index?id=AV58hPtSCNEdHp4Q6zj6&name=)
    at updateFromElasticSearch (kibana.bundle.js?v=1:27)
    at kibana.bundle.js?v=1:27
    at processQueue (commons.bundle.js?v=1:38)
    at commons.bundle.js?v=1:38
    at Scope.$eval (commons.bundle.js?v=1:39)
    at Scope.$digest (commons.bundle.js?v=1:39)
    at Scope.$apply (commons.bundle.js?v=1:39)
    at done (commons.bundle.js?v=1:37)
    at completeRequest (commons.bundle.js?v=1:37)
    at XMLHttpRequest.xhr.onload (commons.bundle.js?v=1:37)
@nreese nreese added :Discovery bug Fixes for quality problems that affect the customer experience labels Sep 14, 2017
@Bargs
Copy link
Contributor

Bargs commented Sep 20, 2017

Dupe of #7767
Working on a fix in #13916

@Bargs Bargs closed this as completed Sep 20, 2017
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

3 participants