UC.04 – Cancelling the registration (enrollment) to a subject
Context of Use
Student cancels the registration to a subject he/she previously enrolled
Stakeholders and Interests
- student: intends to cancel the registration to a subject
Preconditions
- Student is logged in to the UIS
- User is located on the My Subjects page
Trigger
Student clicks the
X button located in the same row as the subject intended for cancellation
Main Success Scenario
- Student will click on the X button located in the row of the subject intended for cancellation in the Enrolled subjects
table
- Modal window Unenroll subject will appear with a preselected subject intended for cancellation
- Student will click on the Unenroll subject button
- UIS will remove subject from the student's list of subjects
- Message confirming successful execution will appear
Postconditions
- UIS removes the subject from the student's list of subjects and changes tables of the DB accordingly
- Student is still on the My Subjects page
- Message confirming successful execution appears
- The subject is removed from the table Enrolled subjects from the My Subjects menu
- The subject appears on the list in the table of the Other Subjects menu
- The subject is removed from the list in the table My Exam Dates
- The subject is removed from the list in the table Other Exam Dates
- Teacher's View: the student disappears from the teacher's list of students enrolled on the selected subject
from the table located on the menu My Subjects
- Teacher's View: the student must not appear on the teacher's list of students enrolled on the selected subject's
exam from the table located on the menu My Exam Dates
- Teacher's View: the student must not appear on the teacher's list of the selected subject's evaluations from
the table located on the menu Set Evaluation
- Teacher's View: the student must not appear on the teacher's list of the selected subject's evaluations from
the table located on the menu Evaluation Table
Alternative Flows
- 1a.
Table has no values in it, i.e. the student is not enrolled on any subject
- 1a-1.
The UC.04 cannot proceed
- 2a.
Student sees a modal window Unenroll subject with a preselected subject intended for cancellation
- 2a-1.
Student will choose a different subject for cancellation
- 2a-2.
Student will continue from the 3rd step of the main success scenario onwards
- 3a.
Student sees a modal window Unenroll subject with a preselected subject intended for cancellation
- 3a-1.
Student clicks on the Cancel button
Postconditions:
- The menu My Subjects appears
- No data are overwritten or changed
- 4a.
Internal error occurs in the UIS/DB during the cancellation of the subject's registration in the DB
Postconditions:
- Menu My Subjects appears
- Message claiming an unsuccessful execution will appear
- No data are overwritten or changed
Technology and Data Variations List
N/A
Related Information
- Cancellation of registration of subjects will also cancel all of the exam dates enrollments
- Table Enrolled Subjects contains all of the listed subjects
- Table Completed Subjects contains all of the subjects completed by the student