-
Bug
-
Resolution: Fixed
-
Major
-
2.9.3, 3.0, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE
-
MDL-52133-master -
Easy
-
In mod/assign/locallib.php function add_grade_form_elements is missing param userid. This function should respect optional param userid.
For example:
You can normaly browse link like to view info about student submission http://xxx.xxx.xxx.xxx/mod/assign/view.php?id=500&userid=460&rownum=0&action=grade
But your atempt to grade student will fail, because add_grade_form_elements doesn't respect param userid for savegrade, while function process_save_grade can work with that optional param.
Solution: add 2 lines to mod/assign/locallib.php (currently on line 6229):
$mform->addElement('hidden', 'userid', $userid);
$mform->setType('userid', PARAM_INT);
- blocks
-
CONTRIB-6251 Progress bar assignment links not pointing into each assignment in students overview
- Closed
- is a regression caused by
-
MDL-44330 Assignment opens up the "wrong" student grading form
- Closed
- is duplicated by
-
MDL-53395 Impossible to link directly to a students assignment grading page.
- Closed