-
Bug
-
Resolution: Fixed
-
Minor
-
3.3.2, 3.4.3, 3.5.2, 3.6
-
MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
-
MOODLE_34_STABLE, MOODLE_35_STABLE
-
MDL-60685-master -
This issue impacts students who view the assignment page, specifically the Feedback table. It occurs when a teacher enters overrides when grading. The replication steps successfully trigger the issue on an up-to-date Moodle site.
Replication steps:
- Log in as a teacher and create an assignment in a course. Enable file submissions, feedback comments, feedback files.
- Log in as a student and submit a file to that assignment.
- Log in as the teacher. Go to the Grader Report. Turn Editing On. Specify a grade on the student's assignment. Click Save Changes.
- Log in as the student. Go to the assignment page. Scroll down to the Feedback section.
- Observe that a Grade and Graded On is displayed.
- Observe that no Graded By is displayed.
- Wait until the next 15 minute mark and refresh the assignment page as the student. Scroll down to the Feedback section.
- Observe that a Graded By is now displayed.
- Observe that the main site administrator is now listed as the user who graded the submission.
I searched the Moodle Tracker for issues and have not found a ticket documenting this issue yet. This is the closest one that I can find. It suggests that the assignment feedback module cannot reliably return the userid of the grader:
https://tracker.moodle.org/browse/MDL-36689
When I noticed that the Graded By did not appear until the 15 minute mark, that made me think that an automated process is triggering some code that is causing the issue. So I went to the scheduled tasks page to identify everything that runs every 15 minutes. There are only a few of them. Using process of elimination, I manually executed scheduled tasks from the command line and identified that this one seems to be responsible:
\assignfeedback_editpdf\task\convert_submissions
If you follow the replication steps, and execute the scheduled task manually as opposed to waiting until the next "15 minute mark", the site administrator is then immediately displayed to students in the Graded By field. This makes me think that this scheduled task is somehow involved.
- caused a regression
-
MDL-66665 Reopened assignment shown as graded by student themselves
- Closed
- is duplicated by
-
MDL-62932 After gradebook import students always are 'graded by' main administrator
- Closed
- will help resolve
-
MDL-62932 After gradebook import students always are 'graded by' main administrator
- Closed