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

delete_course() includes badges function without including library

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.5.1
    • 2.5
    • Badges
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • Hide

      Follow the steps to reproduce in bug description. When hit cancel at the last step, there should be no error.

      Show
      Follow the steps to reproduce in bug description. When hit cancel at the last step, there should be no error.

      delete_course() has badges_handle_course_deletion(), but in some cases badgelib may not be included leading to a fatal error.

      This can be reproduced by

      1. Enabling badges
      2. Doing restore of backup to a new course
      3. On "5. Review" step, hit cancel

            ybozhko Yuliya Bozhko
            poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Damyon Wiese Damyon Wiese
            Petr Skoda Petr Skoda
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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