[configuration] New Project can be created without alias although alias is NOT NULL #7948
Labels
24.0.0-bugs
Issues or bug fix PRs that were raised during the testing of release 24.0.0
Category: Bug
PR or issue that aims to report or fix a bug
State: Discussion required
PR or issue that requires the resolution of a discussion with the relevant parties to proceed
Describe the bug
It is possible to create a new project from the frontend without giving it a valid Alias although the SQL field is set to NOT NULL. It seems like the code stores an empty string in the field to bypass the NOT NULL
Additionally, if the project is then edited to add an alias and saved (saving is successful) and subsequently edited to remove the alias (so go back to empty alias) submitting the form DOES NOT generate any errors, but also DOES NOT clear the alias. A simple reload of the page reveals that the alias is still there...
To Reproduce
Steps to reproduce the behaviour (attach screenshots if applicable):
What did you expect to happen?
In both cases an error should be returned forcing the user to enter an alias for the project
The text was updated successfully, but these errors were encountered: