-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] Fix esaggs missing default time field scenario in Lens #85754
Conversation
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works as expected, LGTM
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
…c#85754) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Summary
Fixes #84058
This PR addresses only partially the problem of missing default time field, focusing only on Lens.
The fix prevents the esaggs to break when querying with a missing default time field.
The fix should not break any other plugin like Visualize or Discover, which are still reporting the missing field error.
Lens
When not using directly default time field, the editor is behaving as the indexpattern has no default time field.
When using directly the default time field, the editor is now correctly showing the invalid reference message.
Visualize
When using directly the field, because of changes in #82223, the user is redirected to the Saved Object specific page when trying to open the visualization. (Note in console it still shows the
Error: Could not locate that index-pattern-field (id: "default-time-field-name-here")
message.Discover
When opening the indexpattern the user is still facing an error when the toast message with
Error: Could not locate that index-pattern-field (id: "default-time-field-name-here")
Checklist