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

Repeated quiz restoration to same course references original course questions

XMLWordPrintable

      Steps to reproduce:

      1. Create a course "course 1".
      2. Create 2 quizzes "quiz1" and "quiz2" each with 2 questions.
      3. Back up both activities.
      4. Create a course "course 2".
      5. Restore quiz1 in course2.
      6. Access the activity, look in the "questions" tab. You will see that the question ids will be different from the activity quiz1 of course1 (as it should be).
      7. restore the quiz2 activity in progress2
      8. Access the activity, go to the "questions" tab and you will see that the question ids are the same as the quiz2 activity in course1.

      In this way, by modifying the questions of quiz2 in course2 you will also modify the questions of the same quiz in course1 but not only: assuming that these backup and restore operations are performed by the admin, a teacher enrolled in course2 only will NOT be able to modify the questions of quiz2.

      This applies to any quiz restored after the first one.

        1. BC-77625.png
          BC-77625.png
          105 kB
        2. first-import.png
          first-import.png
          513 kB
        3. original.png
          original.png
          504 kB
        4. quiz_question_duplication_bug_test.zip
          2 kB
        5. screenshot1.png
          screenshot1.png
          51 kB
        6. screenshot2.png
          screenshot2.png
          38 kB
        7. screenshot3.png
          screenshot3.png
          36 kB
        8. screenshot4.png
          screenshot4.png
          37 kB
        9. second-import.png
          second-import.png
          471 kB

            Votes:
            94 Vote for this issue
            Watchers:
            80 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 12 minutes
                2h 12m

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