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

Redirect to management on missing index pattern does not go away #59999

Closed
flash1293 opened this issue Mar 12, 2020 · 2 comments · Fixed by #61460
Closed

Redirect to management on missing index pattern does not go away #59999

flash1293 opened this issue Mar 12, 2020 · 2 comments · Fixed by #61460
Assignees
Labels
blocker bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0

Comments

@flash1293
Copy link
Contributor

flash1293 commented Mar 12, 2020

Kibana version: master

Elasticsearch version:

Server OS version:

Browser version:

Browser OS version:

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

Describe the bug: In some cases it can happen that the redirect to index pattern management when clicking on Visualize/Discover/Dashboard does not go away after installing sample data.

I couldn't reproduce so far, but I suspect this happens because the index pattern service has an empty list of index patterns cached which is used for the lookup in src/plugins/kibana_legacy/public/angular/ensure_default_index_pattern.tsx. If an index pattern is installed, the check will hit the cache and still redirect the user to management.

if the problem does not go away when reloading the page, it's likely another issue (further testing necessary).

cc @streamich

Steps to reproduce:

Expected behavior:

Screenshots (if relevant):

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):

Any additional context:
Same problem as here #57573, but likely a different root cause.

@flash1293 flash1293 added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure :KibanaApp/fix-it-week labels Mar 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@kertal
Copy link
Member

kertal commented Mar 17, 2020

There's a similar behavior when you try to navigate to a Visualization based on a deleted index pattern. Then you're redirected to management. If you don't delete the Visualization or fix the savedObject, click on the Visualization, you're redirected to management, again. Found in #59777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.7.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants