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: Convert severity & qod to numbers in check_osp_result_exists #2044

Merged
merged 1 commit into from
Jul 14, 2023

Conversation

timopollmeier
Copy link
Member

What

When checking if a result is a duplicate, the severity and QoD are converted to a double and int respectively so invalid values do not cause SQL errors.

Why

This addresses a problem where results with no QoD would cause errors.

References

Fixes #2006
GEA-250
GEA-256

@github-actions
Copy link

Conventional Commits Report

Type Number
Bug Fixes 1

🚀 Conventional commits found.

@timopollmeier timopollmeier added backport-to-stable This pull request will be backported to the stable branch patch release labels Jul 14, 2023
@timopollmeier timopollmeier marked this pull request as ready for review July 14, 2023 07:30
@timopollmeier timopollmeier requested review from a team and mattmundell as code owners July 14, 2023 07:30
When checking if a result is a duplicate, the severity and QoD are
converted to a double and int respectively so invalid values do not
cause SQL errors.

This addresses a problem where results with no QoD would cause errors.
@timopollmeier timopollmeier force-pushed the fix-check_osp_result_exists-numbers branch from c90da5f to 581fe4e Compare July 14, 2023 08:00
@timopollmeier timopollmeier merged commit fc3aa52 into main Jul 14, 2023
9 checks passed
@timopollmeier timopollmeier deleted the fix-check_osp_result_exists-numbers branch July 14, 2023 08:25
timopollmeier added a commit that referenced this pull request Jul 14, 2023
Fix: Convert severity & qod to numbers in check_osp_result_exists (backport #2044)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-stable This pull request will be backported to the stable branch patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sql_exec_internal failed in check_osp_result_exists()
3 participants