-
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
[Fleet]: User is navigated to Home page on editing integration added to multiple agent policies. #187336
Comments
Pinging @elastic/fleet (Team:Fleet) |
@manishgupta-qasource Please review. |
Secondary Review for this ticket is Done |
Hi Team, We have revalidated this issue on latest 8.15.0 BC3 kibana cloud environment and found it still reproducible. Observations:
Screen Recording: Nginx.-.Integrations.-.Elastic.-.Google.Chrome.2024-07-24.13-36-58.mp4Build details: Hence, we are reopening this issue. Thanks! |
## Summary Closes elastic#187336 Fix navigating back to Integration policies list after Cancelling/Submitting the Edit integration policy page. See steps to verify in the linked issue. <img width="1119" alt="image" src="https://github.com/elastic/kibana/assets/90178898/f89028a6-ef71-4b25-aabc-4f80cb36214b"> <img width="1123" alt="image" src="https://github.com/elastic/kibana/assets/90178898/e844344c-caff-45ee-9ce7-772ba672e328">
I checked and it seems the fix somehow missed the 8.15 branch, even though 8.15 label was on it (it was merged before the 8.15 was cut if I remember correctly). |
@juliaElastic I am seeing this issue even on I don't see It's also not part of this code path which is why the redirection goes to |
Which issue do you mean in main? When navigating from Fleet policies, I agree there seems to be an issue when going from actions. I think we should add the agent policy id to the url to be able to navigate back correctly when coming from actions. The
This is a good point, I'll change it to default to Fleet. |
## Summary Closes #187336 Fix navigating back from Agent policies and use Fleet url as a fallback when no specific url is defined fro navigation. To verify: - Go to an Agent policy Integrations list - Click on Edit integration action - Cancel/Submit the form - Verify that the page goes back to Agent policy Integrations list <img width="1479" alt="image" src="https://github.com/user-attachments/assets/daa6b0e2-0298-48fd-8c1c-c818d26a2585"> <img width="1476" alt="image" src="https://github.com/user-attachments/assets/84a7a61e-9329-44ec-96c2-e6891f7627dc"> <img width="1475" alt="image" src="https://github.com/user-attachments/assets/3504d934-6944-42b5-bb10-a212cd340784"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
…#189165) ## Summary Closes elastic#187336 Fix navigating back from Agent policies and use Fleet url as a fallback when no specific url is defined fro navigation. To verify: - Go to an Agent policy Integrations list - Click on Edit integration action - Cancel/Submit the form - Verify that the page goes back to Agent policy Integrations list <img width="1479" alt="image" src="https://github.com/user-attachments/assets/daa6b0e2-0298-48fd-8c1c-c818d26a2585"> <img width="1476" alt="image" src="https://github.com/user-attachments/assets/84a7a61e-9329-44ec-96c2-e6891f7627dc"> <img width="1475" alt="image" src="https://github.com/user-attachments/assets/3504d934-6944-42b5-bb10-a212cd340784"> ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios (cherry picked from commit 66401c6)
Ah, I missed that in the original issue about the starting point. Regardless, thanks for fixing it here too :) |
…189165) (#189194) # Backport This will backport the following commits from `main` to `8.15`: - [[Fleet] fix navigating back to Agent policy integration list (#189165)](#189165) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Julia Bardi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-07-25T14:36:58Z","message":"[Fleet] fix navigating back to Agent policy integration list (#189165)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/187336\r\n\r\nFix navigating back from Agent policies and use Fleet url as a fallback\r\nwhen no specific url is defined fro navigation.\r\nTo verify:\r\n- Go to an Agent policy Integrations list\r\n- Click on Edit integration action\r\n- Cancel/Submit the form\r\n- Verify that the page goes back to Agent policy Integrations list\r\n\r\n<img width=\"1479\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/daa6b0e2-0298-48fd-8c1c-c818d26a2585\">\r\n<img width=\"1476\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/84a7a61e-9329-44ec-96c2-e6891f7627dc\">\r\n<img width=\"1475\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/3504d934-6944-42b5-bb10-a212cd340784\">\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"66401c6440cc48c209b01059deca8a2eb90b24f7","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:prev-minor","v8.16.0"],"title":"[Fleet] fix navigating back to Agent policy integration list","number":189165,"url":"https://github.com/elastic/kibana/pull/189165","mergeCommit":{"message":"[Fleet] fix navigating back to Agent policy integration list (#189165)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/187336\r\n\r\nFix navigating back from Agent policies and use Fleet url as a fallback\r\nwhen no specific url is defined fro navigation.\r\nTo verify:\r\n- Go to an Agent policy Integrations list\r\n- Click on Edit integration action\r\n- Cancel/Submit the form\r\n- Verify that the page goes back to Agent policy Integrations list\r\n\r\n<img width=\"1479\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/daa6b0e2-0298-48fd-8c1c-c818d26a2585\">\r\n<img width=\"1476\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/84a7a61e-9329-44ec-96c2-e6891f7627dc\">\r\n<img width=\"1475\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/3504d934-6944-42b5-bb10-a212cd340784\">\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"66401c6440cc48c209b01059deca8a2eb90b24f7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189165","number":189165,"mergeCommit":{"message":"[Fleet] fix navigating back to Agent policy integration list (#189165)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/187336\r\n\r\nFix navigating back from Agent policies and use Fleet url as a fallback\r\nwhen no specific url is defined fro navigation.\r\nTo verify:\r\n- Go to an Agent policy Integrations list\r\n- Click on Edit integration action\r\n- Cancel/Submit the form\r\n- Verify that the page goes back to Agent policy Integrations list\r\n\r\n<img width=\"1479\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/daa6b0e2-0298-48fd-8c1c-c818d26a2585\">\r\n<img width=\"1476\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/84a7a61e-9329-44ec-96c2-e6891f7627dc\">\r\n<img width=\"1475\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/3504d934-6944-42b5-bb10-a212cd340784\">\r\n\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"66401c6440cc48c209b01059deca8a2eb90b24f7"}}]}] BACKPORT--> Co-authored-by: Julia Bardi <[email protected]>
Hi Team, We have revalidated this issue on latest 8.15.0 BC5 kibana cloud environment and found it fixed now. Observations:
Screen Recording: Nginx.-.Integrations.-.Elastic.-.Google.Chrome.2024-08-05.16-00-38.mp4Build details: Hence, we are marking this issue as QA:Validated. Thanks! |
Kibana Build details:
Preconditions:
Steps to reproduce:
Expected Result:
User should be navigated back to Integration policies page on editing integration added to multiple agent policies.
Note:
Screen Recording:
Installed.integrations.-.Integrations.-.Elastic.-.Google.Chrome.2024-07-02.15-35-20.mp4
Feature:
#75867
The text was updated successfully, but these errors were encountered: