We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug A clear and concise description of what the bug is. This bug is just a missing null check in the certifyLegal keyvalue code:
guac/pkg/assembler/backends/keyvalue/certifyLegal.go
Line 550 in 4db142d
Relevant disussion: #2168 (comment)
To Reproduce Steps to reproduce the behavior:
query CertifyLegalQ1 { CertifyLegal(certifyLegalSpec: {subject: {package: {name: "log4j-core"} } }) { id } }
Expected behavior Return either empty for no result or that found result, i.e.:
Actual The actual query will fail for each element because there is no null check on the legalIfMatch result, e.g. for the above query
{ "message": "the requested element is null which the schema does not allow", "path": [ "CertifyLegal", 21 ] },
GUAC version Are you using a released version of GUAC or one build from a commit in the repository? v0.9.1
Additional context N/A
The text was updated successfully, but these errors were encountered:
I'll add a fix for this in another PR
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
A clear and concise description of what the bug is.
This bug is just a missing null check in the certifyLegal keyvalue code:
guac/pkg/assembler/backends/keyvalue/certifyLegal.go
Line 550 in 4db142d
Relevant disussion: #2168 (comment)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Return either empty for no result or that found result, i.e.:
Actual
The actual query will fail for each element because there is no null check on the legalIfMatch result, e.g. for the above query
GUAC version
Are you using a released version of GUAC or one build from a commit in the
repository?
v0.9.1
Additional context
N/A
The text was updated successfully, but these errors were encountered: