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

Grader report shows users with expired enrolments as normal, active users

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.3, 2.6
    • Fix Version/s: 2.5.4, 2.6.1
    • Component/s: Gradebook
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      Prerequisites:

      • A course with manual enrolments enabled and 8 users enrolled.
      • One user with an enrolment with status 'Active' and no start and end dates enabled.
      • One user with an enrolment with status 'Active', start date only enabled and in the past.
      • One user with an enrolment with status 'Active', end date only enabled and in the future.
      • One user with an enrolment with status 'Active', start and end dates enabled with the start date in the past and the end date in the future.
      • One user with an enrolment with status 'Active', start date only enabled and in the future.
      • One user with an enrolment with status 'Active', end date only enabled and in the past.
      • One user with an enrolment with status 'Active', start and end dates enabled with both dates in the past.
      • One user with an enrolment with status 'Active', start and end dates enabled with both dates in the future.

      Test:

      1. Go to the course's 'Grader report preferences' page.
      2. Set 'Show only active enrolments' to 'Yes' and save changes.
      3. Check that the grader report only displays the active users (i.e. the first 4 users as described above).
      4. Go to the 'Grader report preferences' page again.
      5. Set 'Show only active enrolments' to 'No' and save changes.
      6. Check that the grader report displays the active users normally and the remaining 4 users as inactive (i.e. dimmed).
      7. Change the enrolment status for all users to 'Suspended'.
      8. Check that the grader report displays all users as inactive (dimmed).
      9. Go to the 'Grader report preferences' page again.
      10. Set 'Show only active enrolments' to 'Yes' and save changes.
      11. Check that the grader report displays no users.

      Show
      Prerequisites: A course with manual enrolments enabled and 8 users enrolled. One user with an enrolment with status 'Active' and no start and end dates enabled. One user with an enrolment with status 'Active', start date only enabled and in the past. One user with an enrolment with status 'Active', end date only enabled and in the future. One user with an enrolment with status 'Active', start and end dates enabled with the start date in the past and the end date in the future. One user with an enrolment with status 'Active', start date only enabled and in the future. One user with an enrolment with status 'Active', end date only enabled and in the past. One user with an enrolment with status 'Active', start and end dates enabled with both dates in the past. One user with an enrolment with status 'Active', start and end dates enabled with both dates in the future. Test: 1. Go to the course's 'Grader report preferences' page. 2. Set 'Show only active enrolments' to 'Yes' and save changes. 3. Check that the grader report only displays the active users (i.e. the first 4 users as described above). 4. Go to the 'Grader report preferences' page again. 5. Set 'Show only active enrolments' to 'No' and save changes. 6. Check that the grader report displays the active users normally and the remaining 4 users as inactive (i.e. dimmed). 7. Change the enrolment status for all users to 'Suspended'. 8. Check that the grader report displays all users as inactive (dimmed). 9. Go to the 'Grader report preferences' page again. 10. Set 'Show only active enrolments' to 'Yes' and save changes. 11. Check that the grader report displays no users.
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43408-master

      Description

      Depending on the setting of the 'Show only active enrolments' grader report preference, users with suspended enrolments are either displayed greyed out, or not displayed at all in the grader report. However, this doesn't apply to users whose enrolments have expired (or haven't started yet). Even though their enrolments are inactive, these users are always shown as normal, active users.

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14