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

Null pointer exception when creating a filter with wrong type + Duplicated warnings #2887

Closed
spothound opened this issue Feb 2, 2021 · 0 comments · Fixed by #2961
Closed
Assignees
Labels
type/bug Bug issue

Comments

@spothound
Copy link

spothound commented Feb 2, 2021

Wazuh Elastic Rev
4.1.0 7.10.0 4101-1

Description

If you try to create an alert filter with the wrong type (for example, introducing a string into a numeric data type filter) there is a null pointer exception. Also, there are multiple duplicate warnings saying that the data may be wrong or incomplete.

Steps to reproduce

  • Go to Modules > events
  • Add a filter for rule.level = "error"

Screenshot
image
image
image

Additional context
This seems to happen in all browsers and system.

Nevertheless, on chrome/chromium, you can only add one letter:
image

While in firefox you can introduce full words.

image

@spothound spothound added type/bug Bug issue cicd labels Feb 2, 2021
@spothound spothound changed the title Null pointer exception when creating a filter with wrong type Null pointer exception when creating a filter with wrong type + Duplicated warnings Feb 2, 2021
@frankeros frankeros added this to the Sprint 124 - WUI milestone Feb 2, 2021
@asteriscos asteriscos self-assigned this Feb 4, 2021
@Desvelao Desvelao linked a pull request Feb 12, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants