-
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
[UII] Fix client-side validation for agent policy timeout fields #191674
Conversation
Pinging @elastic/fleet (Team:Fleet) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💚 Build Succeeded
Metrics [docs]Async chunks
To update your PR or re-run it, just comment with: cc @jen-huang |
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.
code LGTM 🚀
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…stic#191674) ## Summary Resolves elastic#191583. Adjusts the client-side validation for agent policy timeout fields so that it correctly returns an error when non-numeric input is encountered, or when input is 0. (cherry picked from commit f29bf1c) # Conflicts: # x-pack/plugins/translations/translations/fr-FR.json # x-pack/plugins/translations/translations/ja-JP.json # x-pack/plugins/translations/translations/zh-CN.json
…ds (#191674) (#191752) # Backport This will backport the following commits from `main` to `8.15`: - [[UII] Fix client-side validation for agent policy timeout fields (#191674)](#191674) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-08-28T21:05:11Z","message":"[UII] Fix client-side validation for agent policy timeout fields (#191674)\n\n## Summary\r\n\r\nResolves #191583. Adjusts the client-side validation for agent policy\r\ntimeout fields so that it correctly returns an error when non-numeric\r\ninput is encountered, or when input is 0.","sha":"f29bf1c3113de90fc0ca08bf7a59a33d53638940","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Fleet","backport:prev-minor","v8.16.0"],"number":191674,"url":"https://github.com/elastic/kibana/pull/191674","mergeCommit":{"message":"[UII] Fix client-side validation for agent policy timeout fields (#191674)\n\n## Summary\r\n\r\nResolves #191583. Adjusts the client-side validation for agent policy\r\ntimeout fields so that it correctly returns an error when non-numeric\r\ninput is encountered, or when input is 0.","sha":"f29bf1c3113de90fc0ca08bf7a59a33d53638940"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/191674","number":191674,"mergeCommit":{"message":"[UII] Fix client-side validation for agent policy timeout fields (#191674)\n\n## Summary\r\n\r\nResolves #191583. Adjusts the client-side validation for agent policy\r\ntimeout fields so that it correctly returns an error when non-numeric\r\ninput is encountered, or when input is 0.","sha":"f29bf1c3113de90fc0ca08bf7a59a33d53638940"}}]}] BACKPORT-->
…lds (elastic#191674)" This reverts commit f29bf1c.
…lds (elastic#191674)" (elastic#194338) ## Summary Resolves elastic#194221. This PR reverts commit f29bf1c. Timeout fields should be clearable with undefined value or zero. (cherry picked from commit 6792cb4)
…timeout fields (#191674)" (#194338) (#194491) # Backport This will backport the following commits from `main` to `8.x`: - [Revert "[UII] Fix client-side validation for agent policy timeout fields (#191674)" (#194338)](#194338) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Jen Huang","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-30T21:22:37Z","message":"Revert \"[UII] Fix client-side validation for agent policy timeout fields (#191674)\" (#194338)\n\n## Summary\r\n\r\nResolves #194221.\r\n\r\nThis PR reverts commit f29bf1c. Timeout\r\nfields should be clearable with undefined value or zero.","sha":"6792cb4dca5adecf1a48a4d052dae603db5772e3","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","v9.0.0","backport:prev-major"],"title":"Revert \"[UII] Fix client-side validation for agent policy timeout fields (#191674)\"","number":194338,"url":"https://github.com/elastic/kibana/pull/194338","mergeCommit":{"message":"Revert \"[UII] Fix client-side validation for agent policy timeout fields (#191674)\" (#194338)\n\n## Summary\r\n\r\nResolves #194221.\r\n\r\nThis PR reverts commit f29bf1c. Timeout\r\nfields should be clearable with undefined value or zero.","sha":"6792cb4dca5adecf1a48a4d052dae603db5772e3"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194338","number":194338,"mergeCommit":{"message":"Revert \"[UII] Fix client-side validation for agent policy timeout fields (#191674)\" (#194338)\n\n## Summary\r\n\r\nResolves #194221.\r\n\r\nThis PR reverts commit f29bf1c. Timeout\r\nfields should be clearable with undefined value or zero.","sha":"6792cb4dca5adecf1a48a4d052dae603db5772e3"}}]}] BACKPORT--> Co-authored-by: Jen Huang <[email protected]>
Summary
Resolves #191583. Adjusts the client-side validation for agent policy timeout fields so that it correctly returns an error when non-numeric input is encountered, or when input is 0.