Closed mgarzon closed 1 week ago
The current system uses Formik to check if the group data is unique: https://github.com/umple/AcademicTeamManagement/blob/main/client/src/schemas/createGroupSchema.js#L9-L16 We check the current group name with all the group names that exist in the DB, if it's not unique, an error message appears
There might be an edge case where this error is not being caught
Solved in latest push to main, groups are now assigned consecutive group ids
Group id should be unique within the UI and DB. The system allows the creation of two or more teams with the same ID.