-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
4.0.7, 4.1.3, 4.1.4
-
MOODLE_400_STABLE, MOODLE_401_STABLE
After an extension is granted to a student and a teacher goes to grade the Assignment, the extension is not shown on the student Assignment Submission grading page.
Steps to reproduce
1. In a course with 5 students, create an assignment with a due date in the near future
2. Grant students C, D and E an extension to some point in the near future (but after the due date)
3. As student A, make a submission before the due date.
4. As student B, make a submission after the due date.
5. As student C, make a submission after the standard due date, but before the extension time.
6. As student D, make a submission after the extended due date.
7. Back as an admin or teacher: View the assignment 'view submissions' page, and note the on-time/number of minutes late for each user.
8. Go into Assignment grader, and then into the assignment
9. Confirm that for student A there is no "Assignment status" box shown
10 Confirm that for student B there is an "Assignment status" box and that the late time matches what is show in the assign grading table view. Also confirm there is no 'extension' message.
11. Confirm that for student C that there is an "Assignment status" box and that there is no late message in it. Confirm that there is an extension message, with the correct extension time.
12. Confirm that for student D that there is an "Assignment status" box and that the late time matches what is show in the assign grading table view. Confirm that there is an extension message, with the correct extension time.
13. Confirm that for student E that there is an "Assignment status" box that there is no late message in it. Confirm that there is an extension message, with the correct extension time.
In Short:
create an assignment with a due date in the past
enroll a student and give an extension in the future
bring up the Assignment Grader for that student/assignment
ACTUAL: "Assignment was submitted x days x hour late"
EXPECTED: No message is displayed OR "The student has an extension until xxx"
The message "Assignment was submitted x days x hour late" does not take into account any extensions given to the user.
It should acknowledge if a user has an extension by calculating off the extension, or not displaying the message at all if it is not late by the extension.
Alternatively the message could include that there is an extension.
Other similar trackers related to extensions:
https://tracker.moodle.org/browse/MDL-76840
https://tracker.moodle.org/browse/MDL-77441