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

completion_criteria_completion can trigger a coding_exception

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.4, 2.3.1
    • 2.2.5, 2.3.2
    • 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.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              sry_not4sale Aaron Barnes
              sry_not4sale Aaron Barnes
              Sam Hemelryk Sam Hemelryk
              Rossiani Wijaya Rossiani Wijaya
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/12