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

fixes error with postFlightRequest #16643

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

ppisljar
Copy link
Member

@ppisljar ppisljar commented Feb 9, 2018

resolves #15912

@ppisljar ppisljar added review Feature:Visualizations Generic visualization features (in case no more specific feature label is available) v6.2.1 labels Feb 9, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@timroes timroes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timroes
Copy link
Contributor

timroes commented Feb 9, 2018

To reproduce the actual issue - since it's not documented in the original issue - you should add a new aggregation (but don't select the aggregation type yet) and then switch the time range.

@elasticmachine
Copy link
Contributor

💔 Build Failed

@thomasneirynck
Copy link
Contributor

jenkins, test this

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@ppisljar ppisljar merged commit 83b6c47 into elastic:master Feb 23, 2018
ppisljar added a commit to ppisljar/kibana that referenced this pull request Feb 23, 2018
ppisljar added a commit to ppisljar/kibana that referenced this pull request Feb 23, 2018
# Conflicts:
#	src/ui/public/vis/request_handlers/courier.js
@stacey-gammon
Copy link
Contributor

I think it'd be good to create a test that would have caught this issue (according to the ticket, looks like a user was unable to add sub aggregations). I suspect the creation of nestedSearchSource is not necessary (I'm trying to track down the various flows of search source inheritance aInd creation, which is how I found it). A test that would cover this part of the code could also help find an issue if removing nestedSearchSource breaks anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Visualizations Generic visualization features (in case no more specific feature label is available) review v6.2.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uncaught error in visualize: cannot read property postFlightRequest of undefined
5 participants