Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83131

Having an error on a formula makes gradebook navigation options not to work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.14
    • Gradebook
    • 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:

      1. Using a second working course, find the URL for the "Gradebook setup" menu option (for instance) and
      2. Update the URL using the course.id of the failing course,
      3. 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.

            Unassigned Unassigned
            jpahullo Jordi Pujol-Ahulló
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.