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

[Security Solution][Endpoint] Do not validate TA creation form with soft errors when required name field is empty #111508

Merged
merged 3 commits into from
Sep 8, 2021
Merged

[Security Solution][Endpoint] Do not validate TA creation form with soft errors when required name field is empty #111508

merged 3 commits into from
Sep 8, 2021

Conversation

ashokaditya
Copy link
Member

Summary

Fixes a bug when the Path field input values result in soft warnings and not errors. This ends up as validating the form even though the required Name field is empty.

Screenshot
ta-create-form

Checklist

Delete any items that are not applicable to this PR.

@ashokaditya ashokaditya added bug Fixes for quality problems that affect the customer experience release_note:fix v8.0.0 impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. Team:Defend Workflows “EDR Workflows” sub-team of Security Solution auto-backport Deprecated - use backport:version if exact versions are needed v7.16.0 labels Sep 8, 2021
@ashokaditya ashokaditya self-assigned this Sep 8, 2021
@ashokaditya ashokaditya marked this pull request as ready for review September 8, 2021 09:52
@ashokaditya ashokaditya requested a review from a team as a code owner September 8, 2021 09:52
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

Copy link
Contributor

@dasansol92 dasansol92 left a comment

Choose a reason for hiding this comment

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

Just a couple of comments added but it looks niiice! Thanks for fixing this :)

Copy link
Contributor

@dasansol92 dasansol92 left a comment

Choose a reason for hiding this comment

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

LGTM!

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 6.5MB 6.5MB -13.0B

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

cc @ashokaditya

@kevinlog
Copy link
Contributor

kevinlog commented Sep 8, 2021

Checked it out - working as expected!

image

image

@ashokaditya ashokaditya merged commit 01218e4 into elastic:master Sep 8, 2021
@ashokaditya ashokaditya deleted the fix/olm-trusted_app_creat_form_validation-108509 branch September 8, 2021 13:23
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 8, 2021
…oft errors when required name field is empty (elastic#111508)

* validate to true only if name is not empty as well

fixes elastic/issues/108509

* update test

* review changes
@kibanamachine
Copy link
Contributor

💚 Backport successful

Status Branch Result
7.x

This backport PR will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Sep 8, 2021
…oft errors when required name field is empty (#111508) (#111533)

* validate to true only if name is not empty as well

fixes /issues/108509

* update test

* review changes

Co-authored-by: Ashokaditya <am.struktr@gmail.com>
chrisronline pushed a commit to chrisronline/kibana that referenced this pull request Sep 8, 2021
…oft errors when required name field is empty (elastic#111508)

* validate to true only if name is not empty as well

fixes elastic/issues/108509

* update test

* review changes
@muskangulati-qasource
Copy link

Bug Conversion

  • Test-Case not required as this is a Dev PR

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience impact:low Addressing this issue will have a low level of impact on the quality/strength of our product. release_note:fix Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v7.16.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants