-
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
[Regression] Histogram aggregation always shows an error message #62624
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@alexwizp Could we first verify this is not happening in 7.7, otherwise we'll need to mark this as a blocker for 7.7. |
@timroes not a blocker for 7.7. Cannot reproduce it on that branch |
Just caught up with @alexwizp -- He has identified the root cause of this bug, which is that the There are three possible ways to resolve this:
cc @lukasolson @lizozom in case you have any opinions on this either way. |
Thinking more about this, I think we should go with Option 1 in my list above (expose We could optionally do the refactoring in Option 2, which would improve the readability of the code, but I don't really see a use case for making SearchSource a static export (unless someone else can think of one). |
@lukeelmers thank you, I also think that it should be in our runtime contract |
) * WIP [Regression] Histogram aggregation always shows an error message Closes: #62624 * make getInternalStartServices private * fix ts issues * remove createSearchSource from static contract * fix some jest test * move searh_source to static contract * fix types * fix function tests * fix jest / add createStartServicesGetter * fix comments: saved_object_management * maps: fix PR comments * maps: update types * fix heck_published_api_changes * move searchSource into runtime contract * cleanup * fix ts error * cleanup * remove extra dependencies * fix Discover * fix Discover JEST * fix PR comments Co-authored-by: Elastic Machine <[email protected]>
…stic#63484) * WIP [Regression] Histogram aggregation always shows an error message Closes: elastic#62624 * make getInternalStartServices private * fix ts issues * remove createSearchSource from static contract * fix some jest test * move searh_source to static contract * fix types * fix function tests * fix jest / add createStartServicesGetter * fix comments: saved_object_management * maps: fix PR comments * maps: update types * fix heck_published_api_changes * move searchSource into runtime contract * cleanup * fix ts error * cleanup * remove extra dependencies * fix Discover * fix Discover JEST * fix PR comments Co-authored-by: Elastic Machine <[email protected]> # Conflicts: # src/plugins/data/public/public.api.md
) (#64211) * WIP [Regression] Histogram aggregation always shows an error message Closes: #62624 * make getInternalStartServices private * fix ts issues * remove createSearchSource from static contract * fix some jest test * move searh_source to static contract * fix types * fix function tests * fix jest / add createStartServicesGetter * fix comments: saved_object_management * maps: fix PR comments * maps: update types * fix heck_published_api_changes * move searchSource into runtime contract * cleanup * fix ts error * cleanup * remove extra dependencies * fix Discover * fix Discover JEST * fix PR comments Co-authored-by: Elastic Machine <[email protected]> # Conflicts: # src/plugins/data/public/public.api.md
Kibana version: latest
Elasticsearch version: latest
Describe the bug:
The Histogram agg always shows an error message:
Steps to reproduce:
src/plugins/data/public/search/aggs/buckets/histogram.ts
)Any additional context:
The problem is related to
getter/setter
functionality. The actual error is :which comes from :
https://github.com/elastic/kibana/blob/master/src/plugins/data/public/search/search_source/search_source.ts#L374
The text was updated successfully, but these errors were encountered: