Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-18185 Regressions etc in gradebook improvements stage 1 HEAD commit
  3. MDL-18187

Gradebook tables must never be updated directly from a gradebook plugin

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      grade/edit/tree/index.php does
      $DB->update_record('grade_items'...

      this is totally unacceptable and must never be done!
      always use gradebook api for that!!

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10