-
-
Notifications
You must be signed in to change notification settings - Fork 199
Open
Description
Description of the issue 📄
An organiser user admin is able to create a new sponsor page with 0 coaches or students assigned to it, even though this is not allowed and the page will 404 once created. If there are 0 students set, the field will be validated as correct in the input field (see screenshot attached). The students/coaches field is not marked as required in the UI with an asterisk even though it should be.
Given that an admin is on the 'New sponsor' page in the admin panel,
When the admin has not put any number of students or coaches,
Then the admin will be taken to a sponsorship page that gives a 404.
Screenshots 📷
Steps to fix 🛠
To do 📋
- Claim this issue (comment below, or assign yourself if you are part of the codebar org)
- Fork and clone the repository
- Update the relevant files. Follow the steps to fix section in this issue.
- Commit your changes as one commit. Use the title of this issue as your commit message
- Submit a pull request
- Mention this issue in the PR description by including it's number
- Have your pull request reviewed & merged by a codebar team member
Metadata
Metadata
Assignees
Labels
No labels