-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] [Bug] Only favorites template not selected instead non favorites template selected if non favorites and only favorites templates have same name #130366
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Another related one: #128740 Not sure that we own this component, but I did add both of these bugs to the Rules Area backlog. |
I think this is related to this work: #120472 |
@michaelolo24 do you know if |
Absolutely shocked to find some eslint disables in the hooks that control this behavior 😆 https://github.com/elastic/kibana/blob/main/x-pack/plugins/security_solution/public/detections/components/rules/pick_timeline/index.tsx#L37-#L56 |
…n templates have same name #135694 ## Summary - addresses #130366 - instead of checking title and id when changing selection, only id will be checked ### Before Impossible to select timeline template, if previously selected one has the same name https://user-images.githubusercontent.com/92328789/177312907-bdc588c6-2811-430d-855a-6c957a65a8f8.mov ### After Possible to select timeline template, if previously selected one has the same name https://user-images.githubusercontent.com/92328789/177313210-81519771-10c5-4959-bcd2-db46c8d4a41f.mov ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Release note fixes issue when users were not able to select timeline template on rules edit/create page and bulk actions if templates have the same name
@vipulsrivastava-qasource , issue has been addressed in #135694 and ready for testing |
Hi @vitaliidm We have validated this issue on Please find the below build and testing details. Build Details:
Screencast Rules.-.Kibana.-.favourite.-.template.mp4Hence, we are closing this issue and marking as QA Validated!! Thanks!! |
Describe the bug:
Only favorites template not selected instead non favorites template selected if non favorites and only favorites templates have same name
Kibana/Elasticsearch Stack version:
Pre-conditions:
Steps to reproduce:
edit rule settings
.Current behavior:
Expected behavior:
What's working:
Rules.-.Kibana.-.Google.Chrome.2022-04-15.15-59-35.mp4
Rules.-.Kibana.-.Google.Chrome.2022-04-15.13-10-49.mp4
Screens Recording:
Rules.-.Kibana.-.Google.Chrome.2022-04-15.15-57-58.mp4
The text was updated successfully, but these errors were encountered: