Disallow creating contests with duplicate contests_code
Opened this issue · 6 comments
Vishal1541 commented
shrirangpdeshmukh commented
Can I work on this issue?
shrirangpdeshmukh commented
Can I take this up now?
InfiniteVerma commented
This seems resolved already. In ./controls/admin.js
line no 152, flag_contest
variable is being used to check whether a contest with the same code already exists or not.
pranshukharkwal commented
@InfiniteVerma @shrirangpdeshmukh
As I can see, when you create a contest with an already existing code, it does not create a new contest, but also doesn't show any error. So maybe we could add an alert here which you ask the user to choose a different contest code as this one is already taken.
InfiniteVerma commented
Alright.
shrirangpdeshmukh commented
I have created a PR addressing this issue