Toast message: Duplicate offerings error warning required
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
As an institution user, I want to have a more intuitive toast message when a duplicate offering is created
When an offering with the same name, year of study, study start date and study end date has occurred.
A user friendly error message such as: "Duplication error: An offering with the same name, year of study, study start date and study end date has occurred. Please review and fix the error."
#### Acceptance Criteria
- [ ] Create a new red failure toast message to display when there is duplicate offering that has the same name, year of study, study start date and study end date to the following:
> Duplication error: An offering with the same name, year of study, study start date and study end date has occurred.
Current:
Red warning: "Unexpected error happening while creating the offering" is displayed

Developer tools item

Context:
SBST - 4704
-Manual offering with same offering name, year of study, study start date and study end date that are the exact same will display the error.
-Bulk upload: Institution uploads a file with the wrong date and changes the dates another offering
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.