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

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

XMLWordPrintable

    • Any
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-43408-master
    • Easy
    • 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.

      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.

            tonybutler Tony Butler
            tonybutler Tony Butler
            Mark Nelson Mark Nelson
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.