Moodle
  1. Moodle
  2. MDL-31158

Allow grade recovery during re-enrollment to be site-configurable

    Details

    • Database:
      Any
    • Testing Instructions:
      Hide

      1. Create a course.
      2. Go to the enrolment page. Click the "enrol users" button.
      3. Verify that the "Recover user's old grades if possible" box is unchecked.
      4. Enable the "Recover grades" site setting "recovergradesdefault".
      5. Reload the enrolment page and click the "enrol users" button again. Verify that the box is now checked.

      Show
      1. Create a course. 2. Go to the enrolment page. Click the "enrol users" button. 3. Verify that the "Recover user's old grades if possible" box is unchecked. 4. Enable the "Recover grades" site setting "recovergradesdefault". 5. Reload the enrolment page and click the "enrol users" button again. Verify that the box is now checked.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      MDL-31158_grade_recovery
    • Rank:
      37599

      Description

      MDL-25718 introduced the option to recover grades when a student un-enrols and re-enrols. To recover grades, there's a hidden checkbox in the AJAX enrollment page. We've had problems with our instructors missing this option. It would be great if there was an option to have this be the default behavior--i.e. that the box is always checked. The below patch adds a site option for setting the default behavior.

        Issue Links

          Activity

          Charles Fulton created issue -
          Charles Fulton made changes -
          Charles Fulton made changes -
          Michael de Raadt made changes -
          Fix Version/s STABLE backlog [ 10463 ]
          Labels patch triaged
          Affects Version/s 2.2.1 [ 11456 ]
          Affects Version/s 2.3 [ 10657 ]
          Michael de Raadt made changes -
          Assignee Rajesh Taneja [ rajeshtaneja ] Andrew Davis [ andyjdavis ]
          Michael de Raadt made changes -
          Priority Minor [ 4 ] Major [ 3 ]
          Andrew Davis made changes -
          Fix Version/s STABLE Sprint 17 [ 11550 ]
          Fix Version/s STABLE backlog [ 10463 ]
          Andrew Davis made changes -
          Status Open [ 1 ] Development in progress [ 3 ]
          Andrew Davis made changes -
          Testing Instructions 1. Create a course.
          2. Go to the enrolment page. Verify that the "Recover user's old grades if possible" box is unchecked.
          3. Enable the "Recover grades" option in Grades->General Settings.
          4. Go back to the enrolment page. Verify that the box is checked.
          1. Create a course.
          2. Go to the enrolment page. Click the "enrol users" button.
          3. Verify that the "Recover user's old grades if possible" box is unchecked.
          4. Enable the "Recover grades" site setting "recovergradesdefault".
          5. Reload the enrolment page and click the "enrol users" button again. Verify that the box is now checked.
          Database Any [ 10000 ]
          Pull from Repository git://github.com/andyjdavis/moodle.git
          Andrew Davis made changes -
          Status Development in progress [ 3 ] Waiting for peer review [ 10012 ]
          moodle.com made changes -
          Peer reviewer phalacee
          Jason Fowler made changes -
          Original Estimate 0 minutes [ 0 ]
          Remaining Estimate 0 minutes [ 0 ]
          Status Waiting for peer review [ 10012 ] Peer review in progress [ 10013 ]
          Jason Fowler made changes -
          Status Peer review in progress [ 10013 ] Development in progress [ 3 ]
          Andrew Davis made changes -
          Status Development in progress [ 3 ] Waiting for integration review [ 10010 ]
          Sam Hemelryk made changes -
          Currently in integration Yes [ 10041 ]
          Sam Hemelryk made changes -
          Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
          Integrator samhemelryk
          Sam Hemelryk made changes -
          Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
          Fix Version/s 2.3 [ 10657 ]
          Michael de Raadt made changes -
          Tester abgreeve
          Helen Foster made changes -
          Labels patch triaged docs_required patch triaged
          Adrian Greeve made changes -
          Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
          Adrian Greeve made changes -
          Status Testing in progress [ 10011 ] Tested [ 10006 ]
          Eloy Lafuente (stronk7) made changes -
          Status Tested [ 10006 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Currently in integration Yes [ 10041 ]
          Integration date 23/Feb/12
          Helen Foster made changes -
          Labels docs_required patch triaged patch triaged
          Rex Lorenzo made changes -
          Link This issue duplicates MDL-27996 [ MDL-27996 ]
          Eloy Lafuente (stronk7) made changes -
          Fix Version/s STABLE Sprint 17 [ 11550 ]
          Marina Glancy made changes -
          Link This issue has been marked as being related by MDL-39001 [ MDL-39001 ]

            People

            • Votes:
              11 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: