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

completion_criteria_completion can trigger a coding_exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.5, 2.3.2
    • 2.2.4, 2.3.1
    • Course completion
    • None
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE
    • Hide

      Enable course completion site-wide in the advanced settings page.
      Create a course with completion enabled.
      Edit the course's completion tracking and enable manual self completion.
      Add the completion status block to the course.
      Enrol a user in the course.
      View the course page as that user.

      No errors should occur.

      Show
      Enable course completion site-wide in the advanced settings page. Create a course with completion enabled. Edit the course's completion tracking and enable manual self completion. Add the completion status block to the course. Enrol a user in the course. View the course page as that user. No errors should occur.

      If the get_criteria() method is called on the completion_criteria_completion object and it attempts to load the criteria the exception will be triggered.

            sry_not4sale Aaron Barnes
            sry_not4sale Aaron Barnes
            Sam Hemelryk Sam Hemelryk
            Rossiani Wijaya Rossiani Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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