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

Debugging message in grader report ajax_callbacks.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.9.6, 3.0.4
    • 2.9.4
    • Gradebook
    • MOODLE_29_STABLE
    • MOODLE_29_STABLE, MOODLE_30_STABLE
    • MDL-53239_master
    • Hide
      1. Open your browser inspector and check the network requests
      2. Go to a gradebook with grade items and turn editing mode on
      3. Set an incorrect the grade for a grade category
      4. See the response to the last ajax request, you should not see any debugging message
      Show
      Open your browser inspector and check the network requests Go to a gradebook with grade items and turn editing mode on Set an incorrect the grade for a grade category See the response to the last ajax request, you should not see any debugging message

      I've found and simple to fix debugging message while working on MDL-51149.

      I don't think it is worth spending much time on this, just adding the patch as I needed to fix the issue to continue working.

      You need to update your sql to include additional name fields in the user object.
      line 3269 of /lib/moodlelib.php: call to debugging()
      line 96 of /grade/report/grader/ajax_callbacks.php: call to fullname()
      {"message":"The grade entered for Category total for Laura Becker is more than the maximum allowed","result":"error"}
      

            dmonllao David Monllaó
            dmonllao David Monllaó
            Ryan Wyllie Ryan Wyllie
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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