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

User report graph broken on courses that haven't started yet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.0
    • Reports
    • None
    • MOODLE_30_STABLE

      I guess courses are meant to start the next day (see MDL-47448) and this is an edge case - but it's possible to break the user report graph (user -> reports -> all logs) if you have attempts and the course hasn't technically started yet. Few people will see that, but it's still not a great look.

      Reproduction steps

      • Create a course, with the course start date being the next day.
      • Enrol some users.
      • Create a quiz activity with a true/false question.
      • As a student, attempt the quiz.
      • As a teacher / admin, view all logs for the student.
        • Observe that the graph at the top of the standard log table is a broken image.
      • Change the course start date to the current day.
        • Observe that the graph now works.

            Unassigned Unassigned
            jethac Jetha Chan
            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.