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

Error adding a single agent into a group #5091

Closed
gdiazlo opened this issue Jan 9, 2023 · 1 comment · Fixed by #5094, #5096 or #5095
Closed

Error adding a single agent into a group #5091

gdiazlo opened this issue Jan 9, 2023 · 1 comment · Fixed by #5094, #5096 or #5095
Assignees
Labels
type/bug Bug issue

Comments

@gdiazlo
Copy link
Member

gdiazlo commented Jan 9, 2023

Wazuh Elastic Rev Security
4.3.11 & 4.4 wzd alfa2 wzd
Browser
Chrome

Description

Error when adding a single agent to a group

Steps to reproduce

  1. Navigate to Management -> Groups
  2. Select a group to manage
  3. Try to add a single agent into the group

Expected Result

  1. An agent is added

Actual Result

  1. An error is shown in the console

Screenshots

image

@gdiazlo gdiazlo added the type/bug Bug issue label Jan 9, 2023
@Desvelao Desvelao self-assigned this Jan 10, 2023
@Desvelao Desvelao linked a pull request Jan 10, 2023 that will close this issue
6 tasks
@Desvelao
Copy link
Member

Research

I could replicate this problem.

When clicking on a multiple selector and the another one is empty (it has no options), the options.forEach method is undefined. Tested in Google Chrome.

Solution

Ensure the forEach method exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment