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 CEL errors not being visualized when creating a new policy condition #87

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nscuro
Copy link
Member

@nscuro nscuro commented Jul 6, 2024

Description

Fixes CEL errors not being visualized when creating a new policy condition.

Error markers were only displayed in the expression editor when updating an existing condition, but not when creating a new one.

Also handles error responses in ProblemDetails format:

image

Addressed Issue

N/A

Additional Details

API Server PR: DependencyTrack/hyades-apiserver#773

Checklist

Error markers were only displayed in the expression editor when *updating* an existing condition, but not when creating a new one.

Signed-off-by: nscuro <[email protected]>
@nscuro nscuro added the defect Something isn't working label Jul 6, 2024
@nscuro nscuro added this to the 5.5.0 milestone Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant