-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.14
-
None
-
MOODLE_401_STABLE
Context
In a Moodle coure, going to "Grades" menu, the teacher have several options, like "Grader report", "Gradebook setup" or "User report" or "Single view".
Teacher may define a formula into the gradebook, wherever, and along the time, it becomes an erroneous formula (missing items, whatever).
Facing the error
If a formula becomes erroneous and is failing, "Grader setup" shows the teacher that there is some error on the formula of that column.
In the presence of that formula, if the teacher goes to the "User report" option, an error is presented that something needs to be regrading.
If just then the teacher logs out, when the teacher comes again to the course and clicks on the "Grades" menú, the error related to something needs to be regrades is presented and no menu is presented to change to "Gradebook setup" or so.
Another effect is that listing users from "User report" or "Single view" option is not working: clicking on the element to choose a specific user shows the GUI is just working but no result is presented (like in an infinite search).
Manually solving the error
Even though that the error the user sees is related to regrading, what it is needed to do is, for instance, remove the failing formula (or make it working, obviously).
Then, all is working again as expected, including all menu options from "Grades" menu.
Request of this issue
Make sure that, no mater if the formula is erroneous, all options inside "Grades" menu work properly. This would prevent that if teacher logs out in some of the "Grades" options, teacher can always come back to the course "Grades".
It would be better to show that the real error was an erroneous/failing formula, instead of something needs to be regraded.
Workaround
To let the "Grades" menu working again, you will need to:
- Using a second working course, find the URL for the "Gradebook setup" menu option (for instance) and
- Update the URL using the course.id of the failing course,
- Visit that URL and leave a working option in that menu (like "Gradebook setup" or "Grader setup").
About Moodle version
We are facing this error on our current Moodle version 4.1.14+. It should be tested on a current Moodle version under support, we do not have one to test it.