Skip to content

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

Description

@flash1293

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.

Activity

  1. added
    bugFixes for quality problems that affect the customer experience
    Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//
    on Mar 12, 2020
  2. elasticmachine commented on Mar 12, 2020

    @elasticmachine
    Contributor

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

  3. kertal commented on Mar 17, 2020

    @kertal
    Member

    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

  4. self-assigned this
    on Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//blockerbugFixes for quality problems that affect the customer experiencev7.7.0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions