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

Removing Metafields results in undefined field in Discover #58446

Closed
J7mbo opened this issue Feb 25, 2020 · 2 comments · Fixed by #78576
Closed

Removing Metafields results in undefined field in Discover #58446

J7mbo opened this issue Feb 25, 2020 · 2 comments · Fixed by #78576
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@J7mbo
Copy link

J7mbo commented Feb 25, 2020

Kibana version: 7.6.0

Elasticsearch version: 7.6.0

Server OS version:

Browser version: Latest Safari

Browser OS version: Latest MacOS

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

Describe the bug: Removing Metafields in advanced, results in an undefined field in the browser that cannot be removed.

Steps to reproduce:

  1. Go to advanced
  2. Remove all meta fields (_source etc) and save
  3. Go to discover and see that there is an empty field
  4. Re-add either one of the meta fields or a random string in advanced again
  5. Go back to discover, see that field is there
  6. Understand it is impossible to remove all metafields

Expected behavior: There are no meta fields and no 'undefined' field.

Screenshots (if relevant):

Metafields Removed
image

and result in Kibana, undefined field:

image

Now adding random string that I don't care about:

image

image

Errors in browser console (if relevant):

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

Any additional context:

@lizozom
Copy link
Contributor

lizozom commented Feb 27, 2020

Tried and was able to reproduce the empty undefined field appearing when all metaFields are removed.
Another bug is that when changing metaFields in advanced settings, the list of fields in discover is not updated.

@lizozom lizozom added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 27, 2020
@elasticmachine
Copy link
Contributor

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

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:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants