[AMOS commit] MDL-66841 forum: Display grade update errors to user Committed into Git: 2019-10-03 06:36 UTC

[AMOS commit] MDL-66841 forum: Display grade update errors to user Committed into Git: 2019-10-03 06:36 UTC

by AMOS bot -
Number of replies: 0
Author: Andrew Nicols
MDL-66841 forum: Display grade update errors to user
Part of MDL-66074

This change modifies the return val for all of the grading functions to
allow them to add additional information.
This means that a grading service can suppress a Grade saved message if
there were no changes, for example.

This also adds a distinction between:
- Errored (Exception thrown in the WS call)
- Failed (Warning in the output of the WS call)
- Success (Grade actually saved)
- None of the above (No save, no fail, no change)


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

+ 3.8 en [grades:gradesavefailed,mod_forum]