Missing validation for project in Staging:Workflow #7175
Labels
Bug
Frontend
Things related to the OBS RoR app
good first issue
Easy task, perfect for a first contribution
From
src/api/app/models/staging/workflow.rb
:which is called in an after create. But it is not compulsory to have a project (at least there is not validation) which causes:
undefined method
name' for nil:NilClass`Solution: Add the validation and not allow to have an staging workflow without a project and fixed everything this breaks.
The text was updated successfully, but these errors were encountered: