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

Send an error message instead of the fallback report text to gsad. #1682

Merged

Conversation

jhelmold
Copy link
Member

@jhelmold jhelmold commented Sep 8, 2021

What:
In gmp.c in function handle_get_system_reports (..):
Adjusted an erroneous if-statement.

In manage.c in function manage_system_report (..):
Replaced the fallback report text by the appropriate
error message.

Why:
This change is part of a bug-fix.

How did you test it:
Tested by a special http-request.

Checklist:

In gmp.c in function handle_get_system_reports (..):
  Adjusted an erroneous if-statement.

In manage.c in function manage_system_report (..):
  Replaced the fallback report text by the appropriate
  error message.
@jhelmold jhelmold added the backport-to-main This pull request will be ported to the master branch label Sep 8, 2021
@jhelmold jhelmold marked this pull request as ready for review September 9, 2021 15:01
@jhelmold jhelmold requested a review from a team as a code owner September 9, 2021 15:01
jhelmold and others added 5 commits September 17, 2021 09:47
Added the ability to pass error message from the call of
"get_osp_performance_string (..)" through to the gsad and
further to GSA. Rebuilt the function manage_system_report (..)
for that purpose.
…d/gvmd into performance_report_error_message
Added the documentation for the new parameter "error" of
function get_osp_performance_string(..).
src/manage.c Outdated Show resolved Hide resolved
src/manage.c Show resolved Hide resolved
src/manage.c Outdated Show resolved Hide resolved
@timopollmeier timopollmeier merged commit 7fa2b64 into greenbone:gvmd-21.04 Sep 17, 2021
@jhelmold jhelmold removed the backport-to-main This pull request will be ported to the master branch label Nov 25, 2021
@jhelmold
Copy link
Member Author

The backport to main is done manually by PR #1745.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants