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

Investigate and prevent max grades to be set on item types 'None' or 'Text'

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.6.5, 2.7.2
    • BACKEND
    • Gradebook
    • MOODLE_26_STABLE, MOODLE_27_STABLE

    Description

      When creating an activity with a grade type of 'Point' then changing it to 'None', the grade item entry is still present in the database and may be considered while aggregating the grades.

      This was fixed for the aggregation method Natural in MDL-47681, but we need to investigate how this bug affects the stable branches and other aggregation methods, especially Sum of grades.

      Along with this, we might want to:

      • upgrade the database to set the maxgrade to 0 on those items
      • prevent the activities from setting a maxgrade != 0 for those
      • prevent the user from doing so from the setup screen

      Switching from type Point to None has to be considered, not just locking the fields.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fred Frédéric Massart
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: