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

[ML] DF Analytics creation: ensure advanced editor can be validated when empty #52831

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Dec 11, 2019

Summary

Fix for #52667

Ensures that undefined values don't get sent to analysis type check to prevent an error causing a blank page.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

Tested and LGTM

@alvarezmelissa87 alvarezmelissa87 merged commit deee1c0 into elastic:master Dec 12, 2019
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Dec 12, 2019
…hen empty (elastic#52831)

* Check for undefined analysis config before validating

* update tests
@alvarezmelissa87 alvarezmelissa87 deleted the ml-df-analytics-creation-editor-fix branch December 12, 2019 19:06
alvarezmelissa87 added a commit that referenced this pull request Dec 12, 2019
…hen empty (#52831) (#52942)

* Check for undefined analysis config before validating

* update tests
timductive pushed a commit to timductive/kibana that referenced this pull request Dec 16, 2019
…hen empty (elastic#52831)

* Check for undefined analysis config before validating

* update tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants