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

Backup / restore of quiz should read/write some data from/into quiz_slots

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 3.5
    • Component/s: Quiz
    • Labels:
    • Testing Instructions:
      Hide

      Restoring a 3.4 backup

      1. Restore the file 34.mbz into a new course.
      2. Go to the course, then go to the quiz Quiz 1 and go to the quiz editing page (questions list)
      3. Confirm that you see 5 questions 4 of which are random questions
      4. Click on the edit icon for the third question
      5. Confirm that the question configuration is as below:
        • Category: Default for MDL-61513
        • Include questions from subcategories too: Checked
        • Tags: Any tags

      Restoring a 3.5 backup

      1. Restore the file 35.mbz into a new course.
      2. Go to the course, then go to the quiz Quiz 1 and go to the quiz editing page (questions list)
      3. Ignore the warning you see at the top of the page that says "mdb->get_record() found more than one record!". That's related to another bug (MDL-61526)
      4. Confirm that you see 1 random question
      5. Click on the edit icon for the question
      6. Confirm that the question configuration is as below:
        • Category: Default for MDL-61514
        • Include questions from subcategories too: Unchecked
        • Tags: t2
      Show
      Restoring a 3.4 backup Restore the file 34.mbz  into a new course. Go to the course, then go to the quiz Quiz 1 and go to the quiz editing page (questions list) Confirm that you see 5 questions 4 of which are random questions Click on the edit icon for the  third question Confirm that the question configuration is as below: Category: Default for MDL-61513 Include questions from subcategories too: Checked Tags: Any tags Restoring a 3.5 backup Restore the file  35.mbz  into a new course. Go to the course, then go to the quiz  Quiz 1  and go to the quiz editing page (questions list) Ignore the warning you see at the top of the page that says "mdb->get_record() found more than one record!". That's related to another bug ( MDL-61526 ) Confirm  that you see 1 random question Click on the edit icon for the question Confirm  that the question configuration is as below: Category: Default for MDL-61514 Include questions from subcategories too:  Unchecked Tags: t2
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61514-master

      Description

      should include tags data
      should read/write from/to quiz_slots.questioncategoryid, quiz_slots.includingsubcategories and quiz_slots.tags

        Attachments

        1. 34.mbz
          7 kB
          Shamim Rezaie
        2. 35.mbz
          7 kB
          Shamim Rezaie
        3. Error.PNG
          49 kB
          Gladys Basiana
        4. Verified MDL-61514_3.4A.PNG
          88 kB
          Gladys Basiana
        5. Verified MDL-61514_3.4B.PNG
          60 kB
          Gladys Basiana
        6. Verified MDL-61514_3.5A.PNG
          22 kB
          Gladys Basiana
        7. Verified MDL-61514_3.5B.PNG
          15 kB
          Gladys Basiana

          Issue Links

            Activity

              People

              Assignee:
              rezaie9 Shamim Rezaie
              Reporter:
              rezaie9 Shamim Rezaie
              Peer reviewer:
              Tim Hunt
              Integrator:
              Andrew Nicols
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 6 hours, 50 minutes
                  1d 6h 50m