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

mod_assign_save_grade api call returns 500 error

    XMLWordPrintable

    Details

      Description

      When I tried to save a grade into gradebook by mod_assign_save_grade api, it was throwing 500 error. In a moodle log file, there was a file missing error.

      How to fix:

      We had to add this line into locallib.php
      require_once("$CFG->dirroot/mod/assign/lib.php");

      Mod/assign/locallib.php at line 67

      We have our moodle clients will use save grade api function, what will be the best approach to fix this issue for them? Will you guys launch a new fix soon?

        Attachments

          Activity

            People

            Assignee:
            damyon Damyon Wiese
            Reporter:
            nlee narie lee
            Peer reviewer:
            Marina Glancy
            Integrator:
            Sam Hemelryk
            Tester:
            Andrew Nicols
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14