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

Grades are not displayed because gradebookroles cannot be set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.8.2
    • Fix Version/s: 1.7.3
    • Component/s: Gradebook
    • Labels:
      None
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      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

              Assignee:
              lazyfish Yu Zhang
              Reporter:
              saint-georges Arnaud saint-Georges
              Tester:
              Nobody Nobody
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Oct/07