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

Grades are not displayed because gradebookroles cannot be set

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.8.2
    • 1.7.3
    • Gradebook
    • None
    • MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_17_STABLE

    Description

      No notes are displayed OR message "no roles defined in admin->appearance->graderoles".

      You can fix this error by going to /grade/lib.php and change the following line ( line 3682 in lib.php v1.3):
      $configvar = get_config('', 'gradebookroles');
      to
      $configvar->value = get_config('', 'gradebookroles');

      See : http://moodle.org/mod/forum/discuss.php?d=62380

      Thanks to Chris Meyer

      Attachments

        Issue Links

          Activity

            People

              lazyfish Yu Zhang
              saint-georges Arnaud saint-Georges
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Oct/07