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

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.5, 2.7.2
    • Fix Version/s: BACKEND
    • Component/s: Gradebook
    • Labels:
    • Affected Branches:
      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

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

                Dates

                • Created:
                  Updated: