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

            damyon Damyon Wiese
            nlee narie lee
            Marina Glancy Marina Glancy
            Sam Hemelryk Sam Hemelryk
            Andrew Lyons Andrew Lyons
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              12/May/14