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

Teacher or manager cannot copy course with quizzes

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE, MOODLE_404_STABLE

      Teacher/manager cannot finish the Copy Course process when the course includes a Quiz activity with any questions in it.

      Steps to reproduce:

      1. As an admin, assing four missing roles to teacher / manager role as described in documentation in order to allow the Course Copy function for teachers:
      2. Login as teacher/manager and find a course you are assigned one of these roles. Make sure that the given course has (or had, in past) a quiz activity with at least one question added.
      3. Try to use the Copy Course function in course settings menu.
      4. Give the copied course a name and category, proceed.
      5. Copying progress turns red with 100% on it. Course copy is not created.

      After long research, I discovered that the error that blocks course copying is "Course copy: Bad backup controller status, is: 600 should be 700, marking job as failed.". It happens during the restore action, and could be possibly linked with no fallback question bank categories to apply quiz questions to (restore_dbops.class.php).

      Error does not happen when the teacher or manager in a course has also capabilites to manage a category where copy happens.

            Votes:
            29 Vote for this issue
            Watchers:
            42 Start watching this issue

              Created:
              Updated:

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