Open nus-pe-bot opened 2 years ago
Thank you for reporting this issue.
The problem here is occurring due to the way unique students are checked, and not due to an issue with blacklist.
However, the severity should be low
instead of high
as it is very unlikely and rare that a student ID would be edited to something different and then edited back to the same one consecutively (editing back and forth). This is because NUS Student Ids are unique and usually unchanging for every student in the first place,
hence this is rare and is unlikely to affect normal operations of nustracker.
--
This issue seems to happen when blacklisting is involved.
I added one Sae Byeok with id/e1111112.
Then I blacklisted her from orientation camp.
Then I edited her id to become id/e1111114
Afterwards, when I tried editing her id back to e1111112, it gives this error that e1111112 already exists.
However there is no student with that id in the list. The full list I currently have is below.
This prevents me from adding certain ids after editing, especially if I added a student id wrongly at first.
[original: nus-cs2103-AY2122S1/pe-interim#4807] [original labels: type.FunctionalityBug severity.High]