Uploaded image for project: '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

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            cfulton Charles Fulton created issue -
            cfulton Charles Fulton made changes -
            cfulton Charles Fulton made changes -
            salvetore 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 ]
            salvetore Michael de Raadt made changes -
            Assignee Rajesh Taneja [ rajeshtaneja ] Andrew Davis [ andyjdavis ]
            salvetore Michael de Raadt made changes -
            Priority Minor [ 4 ] Major [ 3 ]
            andyjdavis Andrew Davis made changes -
            Fix Version/s STABLE Sprint 17 [ 11550 ]
            Fix Version/s STABLE backlog [ 10463 ]
            andyjdavis Andrew Davis made changes -
            Status Open [ 1 ] Development in progress [ 3 ]
            andyjdavis 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
            andyjdavis Andrew Davis made changes -
            Status Development in progress [ 3 ] Waiting for peer review [ 10012 ]
            moodle.com moodle.com made changes -
            Peer reviewer phalacee
            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 ]
            phalacee Jason Fowler made changes -
            Status Peer review in progress [ 10013 ] Development in progress [ 3 ]
            andyjdavis Andrew Davis made changes -
            Status Development in progress [ 3 ] Waiting for integration review [ 10010 ]
            samhemelryk Sam Hemelryk made changes -
            Currently in integration Yes [ 10041 ]
            samhemelryk Sam Hemelryk made changes -
            Status Waiting for integration review [ 10010 ] Integration review in progress [ 10004 ]
            Integrator samhemelryk
            samhemelryk Sam Hemelryk made changes -
            Status Integration review in progress [ 10004 ] Waiting for testing [ 10005 ]
            Fix Version/s 2.3 [ 10657 ]
            salvetore Michael de Raadt made changes -
            Tester abgreeve
            tsala Helen Foster made changes -
            Labels patch triaged docs_required patch triaged
            abgreeve Adrian Greeve made changes -
            Status Waiting for testing [ 10005 ] Testing in progress [ 10011 ]
            abgreeve Adrian Greeve made changes -
            Status Testing in progress [ 10011 ] Tested [ 10006 ]
            stronk7 Eloy Lafuente (stronk7) made changes -
            Status Tested [ 10006 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            Currently in integration Yes [ 10041 ]
            Integration date 23/Feb/12
            tsala Helen Foster made changes -
            Labels docs_required patch triaged patch triaged
            rex Rex Lorenzo made changes -
            Link This issue duplicates MDL-27996 [ MDL-27996 ]
            stronk7 Eloy Lafuente (stronk7) made changes -
            Fix Version/s STABLE Sprint 17 [ 11550 ]
            marina 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:
                  Fix Release Date:
                  25/Jun/12