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

[Discover] Loading Discover with removed index gives two equal error toasts instead of one #141039

Closed
dimaanj opened this issue Sep 20, 2022 · 4 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@dimaanj
Copy link
Contributor

dimaanj commented Sep 20, 2022

Kibana version:
main
Elasticsearch version:

Server OS version:

Browser version:

Browser OS version:

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

Describe the bug:
Loading Discover with removed index gives two equal error toasts instead of one.
Steps to reproduce:

  1. Create data view with index
  2. Open Discover and save the link to a current view
  3. Remove index
  4. Open Discover using saved link
  5. See two equal error toasts instead of one (No matching indices found: ...)

Expected behavior:
Only one error toast should be displayed

@dimaanj dimaanj added bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Sep 20, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal
Copy link
Member

kertal commented Sep 20, 2022

I think it's because 2 queries are responding (documents + histogram) with errors. I think it improved but I don't think it's a Discover task to do so, there's a related issue here: #67270

@kertal
Copy link
Member

kertal commented Sep 20, 2022

So I think this can be closed as it would be resolved once there's a solution for repeated error messages

@kertal
Copy link
Member

kertal commented Sep 21, 2022

Closing since @dimaanj agreed by 👍

@kertal kertal closed this as completed Sep 21, 2022
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 Feature:Discover Discover Application Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

3 participants