-
Bug
-
Resolution: Fixed
-
Minor
-
2.0.5, 2.1.1, 2.2
-
None
-
Windows Server 2003
PHP 5.3.6
-
MySQL
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
Clicking the "revert to draft" button on the grading screen of the advanced upload assignment type results in a broken log entry.
Steps to reproduce:
This requires two users a teacher and a student
1. As a teacher Create an Assignment using the Advanced uploading of files type. Be sure to set the "Enable send for marking button" option to "yes"
2. As a student upload a single file to the assignment activity.
3. As the student click the "Send for marking" button.
4. On the confirmation screen click the continue button
5. As the teacher browse to the assignment activity and click on the "View 1 submitted assignments" link
6. Click on the Grade link to view the student submission (in the status column of the table)
7. Click the "Revert to draft button"
8. Browse to the teachers activity report in the navigation block (My Courses -> Course name -> Participants -> Teacher Name -> Activity Reports -> All Logs)
9. Locate the "Assignment view submission" log entry (Should be the second entry from the top. and click the "Assignment view submission" link
Expected result:
You will be brought to that students assignment submission
Actual result:
Error: Invalid course module ID
7.