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

Empty files throw an error #1806

Closed
adri9valle opened this issue Sep 17, 2019 · 0 comments
Closed

Empty files throw an error #1806

adri9valle opened this issue Sep 17, 2019 · 0 comments
Assignees
Labels
type/bug Bug issue
Milestone

Comments

@adri9valle
Copy link
Contributor

Wazuh Elastic Rev
3.10 7.3.2 543

Description
When fetching an empty file the response body data returns an empty string, that provokes that in the service for making the API returns an error because an empty string is processed as false.

Steps to reproduce

NOTE: To test this the file must be empty.

  1. Go to 'Management > Groups > {any_group} > agent.conf'
  2. Click on 'Edit'
  3. See error

Screenshots

image

@adri9valle adri9valle added the type/bug Bug issue label Sep 17, 2019
@adri9valle adri9valle added this to the Sprint - 100 milestone Sep 17, 2019
This was referenced Sep 20, 2019
@adri9valle adri9valle self-assigned this Sep 20, 2019
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

No branches or pull requests

1 participant