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

Fix error when changing API in Agent preview of Endpoints Summary #6799

Closed
jbiset opened this issue Jun 24, 2024 · 0 comments · Fixed by #6802
Closed

Fix error when changing API in Agent preview of Endpoints Summary #6799

jbiset opened this issue Jun 24, 2024 · 0 comments · Fixed by #6802
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@jbiset
Copy link
Member

jbiset commented Jun 24, 2024

Description

Need to fix a bug when changing APIs in Agent preview of Endpoint Summary. When the API is changed, the agent is unpinned and this causes the components that try to read data from the agent to generate an error when reading an undefined value.

Steps to reproduce

  1. Navigate to Endpoints Summary
  2. Select an agent
  3. Go to Configuration tab of the agent preview
  4. Change the API

Expected Result

  1. The message that there is no agent selected should appear with the button to select an agent.

image

Actual Result

  1. An error message appears when trying to read from an undefined value

Screenshots

bug_endpoints_summary_configuration.webm
@jbiset jbiset added type/bug Bug issue level/task Task issue labels Jun 24, 2024
@jbiset jbiset self-assigned this Jun 24, 2024
@jbiset jbiset changed the title Fix error when changing API in Agent preview of Endpoint Summary Fix error when changing API in Agent preview of Endpoints Summary Jun 24, 2024
@wazuhci wazuhci moved this to In progress in Release 4.9.0 Jun 24, 2024
@jbiset jbiset linked a pull request Jun 24, 2024 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.9.0 Jun 24, 2024
@wazuhci wazuhci moved this from Pending review to In review in Release 4.9.0 Jun 25, 2024
@jbiset jbiset linked a pull request Jun 26, 2024 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In review to Done in Release 4.9.0 Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants