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

mod_assign resets the max grade to 100 after module editing changing all existing grades

    Details

    • Testing Instructions:
      Hide

      Create an assignment with a max grade of 66.

      Grade a student - give them a score of 33.

      Edit the assignment settings and save them without touching the grade.

      Verify the max grade has not changed.

      Edit the assignment settings and change the max grade - set rescale grades to yes and set the maxgrade to 100.

      Save the settings and verify the max grade was changed and the grade was scaled to 50.

      Edit the assignment settings and change the max grade - set rescale grades to no and set the maxgrade to 80.

      Save the settings and verify the max grade was changed and but the grade was left as 50.

      Show
      Create an assignment with a max grade of 66. Grade a student - give them a score of 33. Edit the assignment settings and save them without touching the grade. Verify the max grade has not changed. Edit the assignment settings and change the max grade - set rescale grades to yes and set the maxgrade to 100. Save the settings and verify the max grade was changed and the grade was scaled to 50. Edit the assignment settings and change the max grade - set rescale grades to no and set the maxgrade to 80. Save the settings and verify the max grade was changed and but the grade was left as 50.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Pull from Repository:
    • Pull 3.1 Branch:
    • Pull Master Branch:
      MDL-55520-master

      Description

      Hello,

      today I have noticed that plugin mod_assign not working properly.

      Problem is that:

      • we create one new Assignment and set max grade (for example 5) and save.
      • Next step is to put some grades to students.
      • now we edit this Assignment (but we don't do any change, just save)
      • after the change the maximum grade is 100 (but we did not change anything related with grades).

      In example:
      2.5 of 5 --> 50% after the "changing" Assignment is 2,5 of 100 --> 2,5%

      Version of plugin is: 2016052300

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Sep/16