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

Debugging message in grader report ajax_callbacks.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.4
    • Fix Version/s: 2.9.6, 3.0.4
    • Component/s: Gradebook
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-53239_master

      Description

      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"}
      

        Attachments

          Activity

            People

            Assignee:
            dmonllao David Monllaó
            Reporter:
            dmonllao David Monllaó
            Peer reviewer:
            Ryan Wyllie Ryan Wyllie
            Integrator:
            Dan Poltawski Dan Poltawski
            Tester:
            Frédéric Massart Frédéric Massart
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/May/16