UC.10 – Cancellation of registered subject
Context of Use
Teacher cancels a subject he/she teaches.
Stakeholders and Interests
- teacher: intends to cancel a subject he/she teaches
Constraints
- Only a subject without enrolled students can be canceled
Preconditions
- Teacher is already logged in to the UIS
- Teacher is on the page My Subjects
Trigger
Teacher clicks on the button
Remove located in the row of the subject intended for cancellation
Main Success Scenario
- Teacher clicks on the button Remove located in the row of the subject intended for cancellation
- UIS will remove the subject from the teacher's subject list
- Message confirming a successful execution will appear
Postconditions
- UIS removes the subject from the teacher's list of subjects and changes the DB and its tables accordingly
- Teacher is still on the page My Subjects
- Message confirming a successful execution appears
- The subject is removed from the list in the menu My Subjects
- The subject is removed from the list in the menu My Exam Dates
- The subject is removed from the list in the menu New Exam Dates
- The subject is removed from the list in the menu Set Evaluation
- The subject is removed from the list in the menu Evaluation Table
- The subject appears on the list in the menu Others' Subjects
- The subject is removed from the teachers' list of subjects in the menu List of All Teachers for the specific teacher
- Student's View: students must not find the removing teacher's name for the subject in the menu Other Subjects
- Student's View: students must not find the removing teacher's name on the list of examining teachers for the
selected subject in the menu Other Exam Dates
Alternative Flows
- 1a.
Table has no entries, i.e. the teacher in not teaching any subjects at the moment
- 1a-1.
The UC.10 cannot proceed
- 1b.
Buttons Remove are disabled for every subject that has at least one student enrolled
- 1b-1.
The UC.10 cannot proceed
- 2a.
Internal error occurs in the UIS/DB during the cancellation of the subject in the DB
Postconditions:
- Teacher remains on the page My Subjects
- Message claiming an unsuccessful execution appears
- No data are overwritten or changed
Technology and Data Variations List
- Teacher clicks on the button New exam date for the selected subject and UC.13 will proceed
Related Information
- All subjects are announced
- One subject can be simultaneously taught by up to two teachers. One cancellation by one teacher will have no effect on the
other's subject.
- All exam dates for the subject are also terminated without warning with the cancellation of the subject.
- It is possible to create a exam date by clicking the New Exam Date button - more on the matter in UC.13
- It is possible to view the list of students enrolled on the subject by clicking the Students button - more on the matter
in UC.13