[AMOS commit] MDL-74752 question regrading: implement the required hooks Committed into Git: 2022-05-16 12:59 UTC

[AMOS commit] MDL-74752 question regrading: implement the required hooks Committed into Git: 2022-05-16 12:59 UTC

by AMOS bot -
Number of replies: 0
Author: Tim Hunt
MDL-74752 question regrading: implement the required hooks
This commit implements the necessary core hooks to ensure we only
allow a regrade of a quetion attempt to take place if the new and old
versions of the question are sufficiently similar.

It will be followed by commits to each question type where the
new method needs to be implemented.

Automated tests will be included in the first of those (mulitple choice)
becuse we need a question type that implements the hooks to test
the core changes.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=ca4ac3e8b6d795212d1b8446dc06d3399e0aa11f
http://github.com/moodle/moodle/commit/ca4ac3e8b6d795212d1b8446dc06d3399e0aa11f

+ 4.0 en [cannotregradedifferentqtype,core_question]
+ 4.0 en [regradecomplete,quiz_overview]
+ 4.0 en [regradedsuccessfullyxofy,quiz_overview]
+ 4.0 en [regradingattemptissue,quiz_overview]
+ 4.0 en [regradingattemptxofyproblem,quiz_overview]