edwardUL99 / StudSysCppCLI

A CLI UI for the StudSysCpp Project. This is a "dummy" project that is not used but done to practise C++ and also software engineering in terms of issues, issue tracking, issue refinement, requirements engineering, releases and also databases
GNU General Public License v3.0
0 stars 0 forks source link

Cannot edit any exam if you tried to edit an exam that has already been edited #69

Closed edwardUL99 closed 4 years ago

edwardUL99 commented 4 years ago

There has been a bug found where if a lecturer attempts to edit an exam that has already been taken by students, the error message is successfully displayed. However, after that if you try to edit again the same error message is printed and you cannot edit another exam. This issue even persists if you use (B)ack and go back into exams and even the extreme of logging out and logging back in.

Steps To Reproduce

  1. Login as a lecturer who has authority to edit exams of a module
  2. Go to the module home page for the module with exams
  3. Choose the exams option
  4. Choose an exam that a student has taken
  5. Verify the error message is printed
  6. Attempt to edit again and verify the error message persists and doesn't allow you choose a new exam