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

Grade category form field disappears from the edit module form if ratings are used

XMLWordPrintable

    • MOODLE_28_STABLE, MOODLE_29_STABLE

      Discovered while looking at MDL-50612, I am creating a separate issue because it affects 2.8 as well:

      During editing of the module we remove the 'Grade category' form field if outcomes are used and the category of outcome conflicts with the category of the grade:
      https://github.com/peikk0/moodle/blob/MOODLE_28_STABLE/course/moodleform_mod.php#L136..L182

      But the default value for the $gradecat is false (line 137), which causes the field to be deleted completely (see line 174) for the activities such as database or glossary when rating has not yet been set and therefore the grade item was not created.

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.