VATSIMCanada / issue-tracker

Submit bugs, and suggestions to the VATCAN Web Team.
0 stars 0 forks source link

[BUG] CZAE S1 Exam - Assigning to Transfered Students #5

Closed codeman02 closed 5 months ago

codeman02 commented 1 year ago

Describe the bug Brad Crockett from Vancouver has a student (David Bradley - 1519118) who transferred from VATUK. Because David is an S1 he did not have to do our CZAE S1 test, however Brad wants to have the student do the test to get a benchmark on their Canada ops. Whenever the student is assigned the exam it will show up as assigned then disappear within 10 minutes. I had tried to assign the test and same thing it will show up in the pending list then disappear. I suspect its because they are already a S1 so perhaps we need to spawn a copy of the test for instructors to assign to transferred students at their behest.

To Reproduce Steps to reproduce the behavior:

  1. Go to Exams
  2. Click on by CID 1519118 and CZAE S1 and assign
  3. See Pending page
  4. wait ... check again

Expected behavior As above it would be handy to have this test in a state where we can assign it to transferred students.

Additional context Thank you so much :D Capture1

JordannDev commented 1 year ago

@codeman02 This is likely because the website was never intended to have S1 Exams assigned manually, this was intended to be an automated process, I'd be willing to bet there is a check somewhere to see if the person who assigned the exam is the same CID as the student.

I'll see if we can locate the bug and figure out where this is coming from

xLostShadows commented 8 months ago

I will add automation to this. Will add code that detects when a user has been transferred from CZZN and is already an S1 and will receive the S1 exam automatically.

mgwalsh99 commented 5 months ago

This is no longer allowed/permitted with the change in Vatsim policies.