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

Recover Grades default setting not obeyed

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      1. Login as admin.
      2. Go to "Site administration | Grades | General settings" and make sure the "Recover grades default" is unchecked.
      3. Create a course
      4. Go to the Participants page and enrol at two users (user1 and user2).
      5. Add an assignment to the course.
      6. Go to the assignment's grading table and enable quick grading.
      7. Give grades to user 1 and 2
      8. Click "Grades" on the nav panel to go to the Gradebook.
      9. Confirm that user1's and user2's assignments have been graded.

      Testing scenario 1

      1. Login as admin.
      2. Access to the Participants page of the course.
      3. Unenrol the user1 from the course.
      4. Enrol again the user1. During the enrolment click over the "Show more" link and:
      5. Confirm that "Recover user's old grades if possible" is unchecked
      6. Go to the Gradebook.
      7. Confirm that user1's assignment doesn't have a grade.

      Testing scenario 2

      1. Gi to "Site administration | Grades | General settings" and enable the "Recover grades default" setting.
      2. Access to the Participants page of the course.
      3. Unenrol the user2 from the course.
      4. Enrol again the user2. During the enrolment click over the "Show more" link and:
      5. Confirm that "Recover user's old grades if possible" is already checked
      6. Go to the Gradebook
      7. Confirm that user2's assignment has a grade and is the same as the previously given grade.
      8. Go back to the Participants page of the course.
      9. Unenrol the user2 from the course.
      10. Enrol user2 again. During the enrolment click "Show more" link and uncheck the Recover grades checkbox.
      11. Go to the Gradebook
      12. Confirm that user2's assignment doesn't have a grade.
      Show
      Setup Login as admin. Go to "Site administration | Grades | General settings" and make sure the " Recover grades default " is unchecked. Create a course Go to the Participants page and enrol at two users (user1 and user2). Add an assignment to the course. Go to the assignment's grading table and enable quick grading. Give grades to user 1 and 2 Click " Grades " on the nav panel to go to the Gradebook. Confirm  that user1's and user2's assignments have been graded. Testing scenario 1 Login as admin. Access to the Participants page of the course. Unenrol the user1 from the course. Enrol again the user1. During the enrolment click over the "Show more" link and: Confirm that "Recover user's old grades if possible" is unchecked Go to the Gradebook. Confirm that user1's assignment  doesn't have a grade. Testing scenario 2 Gi to "Site administration | Grades | General settings" and enable the " Recover grades default " setting. Access to the  Participants  page of the course. Unenrol the user2 from the course. Enrol again the user2. During the enrolment click over the "Show more" link and: Confirm that "Recover user's old grades if possible" is already checked Go to the Gradebook Confirm that user2's assignment has a grade and is the same as the previously given grade. Go back to the  Participants  page of the course. Unenrol the user2 from the course. Enrol user2 again. During the enrolment click "Show more" link and uncheck the Recover grades checkbox. Go to the Gradebook Confirm that user2's assignment doesn't have a grade.
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-62188-master

      Description

      The Recover grades default (recovergradesdefault) setting has no effect on the enrol users form - the default is always off.

      This can lose to loss of grades, because once you re-enrol a user with that unchecked, it is impossible get them back - even if you unenrol and re-enrol with it checked.

        Attachments

          Activity

            People

            • Assignee:
              sarjona Sara Arjona (@sarjona)
              Reporter:
              emerrill Eric Merrill
              Peer reviewer:
              Eric Merrill
              Integrator:
              Jun Pataleta
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta, Ryan Wyllie
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 38 minutes
                38m