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

webadmin: Add validation to new template #672

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

ljelinkova
Copy link
Contributor

In #621, the validation of a new template was removed from the UI in assumption that the backend can validate the template properly. However, the backend does not contain validation for the name and if the name is not provided, it fails on inserting null to a not null database column. This patch adds the name validation back to the fronted.

In PR [1], the validation of a new template was
removed from the UI in assumption that the backend
can validate the template properly. However,
the backend does not contain validation for the name
and if the name is not provided, it fails on inserting
null to a not null database column.

This patch adds the name validation back to the fronted.

1: oVirt#621
@michalskrivanek
Copy link
Member

/ost

Copy link
Member

@michalskrivanek michalskrivanek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh, so many OST issues recently, it's horrible

@michalskrivanek michalskrivanek merged commit d91ae7e into oVirt:master Sep 23, 2022
@ljelinkova ljelinkova deleted the make_template branch November 7, 2022 08:51
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.

None yet

3 participants