-
Improvement
-
Resolution: Fixed
-
Minor
-
2.2.4, 2.3.1, 2.4
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_25_STABLE
-
There is no way to get the files in the grade_responses method, either initially when the student submits their response, or later when the question is re-graded.
See http://moodle.org/mod/forum/discuss.php?d=208009#p906877.
Two things need to be done:
- add a get_files method to question_file_saver
- in question_attempt_step::load_from_records, we need to create an instance of a new class question_file_loader, which also implements the get_files and __toString methods, for those data values that have files.