Moodle
  1. Moodle
  2. MDL-26492

'Handling of re-takes' to 'Use maximum' doesn't work

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.3.1
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Lesson
    • Labels:
    • Testing Instructions:
      Hide

      1. Login as a teacher, update the lesson activity and set the maximum grade to 100, 'Student can re-take' to Yes and 'Handling of re-takes' to 'Use mean'.
      2. Login as a student and attempt the activity twice.
      3. Check that the grade for the activity is the mean of the two attempts.
      4. Login as the teacher, update the lesson activity and change 'Handling of re-takes' to 'Use maximum'.
      5. Login as the student and check that grade shown in the gradebook is the maximum of the two attempts.

      Show
      1. Login as a teacher, update the lesson activity and set the maximum grade to 100, 'Student can re-take' to Yes and 'Handling of re-takes' to 'Use mean'. 2. Login as a student and attempt the activity twice. 3. Check that the grade for the activity is the mean of the two attempts. 4. Login as the teacher, update the lesson activity and change 'Handling of re-takes' to 'Use maximum'. 5. Login as the student and check that grade shown in the gradebook is the maximum of the two attempts.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      wip-mdl-26492
    • Rank:
      16085

      Description

      qa.moodle.net (MDLQA-616)

      1. Login as a teacher, update the lesson activity and set the maximum grade to 100, 'Student can re-take' to Yes and 'Handling of re-takes' to 'Use mean'.
      2. Login as a student and attempt the activity twice.
      3. Check that the grade for the activity is the mean of the two attempts.
      4. Login as the teacher, update the lesson activity and change 'Handling of re-takes' to 'Use maximum'.
      5. Login as the student and check that grade shown in the gradebook is the maximum of the two attempts.

      => it still shows the mean of the two attempts (on the screenshot, Sally should have 100, she did one attempt with everything correct.)

        Issue Links

          Activity

          Hide
          Michael de Raadt added a comment -

          This still seems to be a problem with current versions.

          Show
          Michael de Raadt added a comment - This still seems to be a problem with current versions.
          Hide
          Frédéric Massart added a comment -

          Looks good to me Raj. Pushing for integration!

          Show
          Frédéric Massart added a comment - Looks good to me Raj. Pushing for integration!
          Hide
          Dan Poltawski added a comment -

          Thanks Raj, i've integrated this now.

          Show
          Dan Poltawski added a comment - Thanks Raj, i've integrated this now.
          Hide
          Andrew Davis added a comment -

          Works as described. Passing.

          Show
          Andrew Davis added a comment - Works as described. Passing.
          Hide
          Eloy Lafuente (stronk7) added a comment -

          YEAR!*

          CAF*, TOT!*

          • Your effort amazingly resulted. (unbelievable :-P)
          • Closing as fixed.
          • Tons of thanks.
          Show
          Eloy Lafuente (stronk7) added a comment - YEAR!* CAF*, TOT!* Your effort amazingly resulted. (unbelievable :-P) Closing as fixed. Tons of thanks.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: