-
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]: Error page on navigating to Agent details page for Horde agents. #159975
Comments
Pinging @elastic/fleet (Team:Fleet) |
@manishgupta-qasource Please review. |
Secondary review for this ticket is Done |
I'm not sure if that's a real bug though. Horde agents are made for our own testing purpose and thus i don't think we should prevent this page from being displayed. Did something changed recently? |
I couldn't reproduce this so far. |
Thank you for looking into this. Thanks! |
I found that the error happens because the horde agent doesn't have I think the fix is easy, we just have to add a nullcheck to the problematic line, e.g. |
Yes, that's definitely an easy fix, I can take it and add a test. |
## Summary Fix a bug in the health reporting UI change in #158826 where the page breaks when the agent has no components. Closes #159975 ### 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 - [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) - [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server)) - [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Thank you for the fixes. Observations:
Screen Recording: Agents.-.Fleet.-.Elastic.-.Google.Chrome.2023-07-06.20-30-05.mp4Build details: Hence we are marking this issue as QA:Validated. Thanks! |
Kibana Build details:
Host OS and Browser version: All, All
Preconditions:
Steps to reproduce:
Expected:
Error page should not be displayed on navigating to Agent details page for Horde agents.
Screen Recording:
Agents.-.Fleet.-.Elastic.-.Google.Chrome.2023-06-20.09-56-26.mp4
What's working:
Agents.-.Fleet.-.Elastic.-.Google.Chrome.2023-06-20.11-36-52.mp4
The text was updated successfully, but these errors were encountered: