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

enrol/users.php shows last access to the platform but not last access to the course

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1, 2.2, 2.6, 2.6.5, 2.7.1, 2.7.2
    • Fix Version/s: 2.6.6, 2.7.3
    • Component/s: Course, Reports
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin and create a new course.
      2. Enrol a student in the newly created course.
      3. Observe that the student's "Last access to course" is "never"
      4. Log in as the student that you just enrolled in the course. Do NOT view the newly created course.
      5. Log back in as an admin. View the course and select Users->Enrolled users in the administration block.
      6. Observe that the enrolled student's "Last access to course" is "Never"
      7. Log out and log back in as the student.
      8. View the course and then log out.
      9. Log back in as an admin and view the course's Users->Enrolled users page again.
      10. Observe that the "Last access to course" column is now populated with a value that will align with the last time the student last accessed the course (if you did this quickly this should be roughly a minute ago).
      11. Ensure that the course profile, site profile and participant pages also show appropriate times.
      Show
      Log in as an admin and create a new course. Enrol a student in the newly created course. Observe that the student's "Last access to course" is "never" Log in as the student that you just enrolled in the course. Do NOT view the newly created course. Log back in as an admin. View the course and select Users->Enrolled users in the administration block. Observe that the enrolled student's "Last access to course" is "Never" Log out and log back in as the student. View the course and then log out. Log back in as an admin and view the course's Users->Enrolled users page again. Observe that the "Last access to course" column is now populated with a value that will align with the last time the student last accessed the course (if you did this quickly this should be roughly a minute ago). Ensure that the course profile, site profile and participant pages also show appropriate times.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-32275-master
    • Story Points:
      8
    • Sprint:
      FRONTEND Sprint 14

      Description

      The view enrol/users.php is course specific as it shows which users are enrolled in the course. Nevertheless, the field last access shows the time when a user last accessed the platform although he never accessed the course or last course access was much earlier. One expects that the field tells when a user last accessed the course.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              davecooper Dave Cooper
              Reporter:
              super3d Claus A. Us.
              Peer reviewer:
              Sam Hemelryk
              Integrator:
              Dan Poltawski
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              16 Vote for this issue
              Watchers:
              24 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14