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

Restoring activity using question bank does not restore question's tags

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      • Create a test user
      • Create a tag
      • Create a course
      • Create another course (used to restore the quiz activity into)
      • Add a question to the question bank within the course
      • Associated that question with the tag that was created
      • Add a quiz instance to the course
      • Add a question to the quiz
      • Login as a test user and submit an answer to the quiz
      • Backup the quiz activity
      • Restore the quiz activity into the other course
        • Go into that course
        • Go into the question bank and edit the question

      Verify:

      • The restored questions have the same tags as the originals.
      Show
      Create a test user Create a tag Create a course Create another course (used to restore the quiz activity into) Add a question to the question bank within the course Associated that question with the tag that was created Add a quiz instance to the course Add a question to the quiz Login as a test user and submit an answer to the quiz Backup the quiz activity Restore the quiz activity into the other course Go into that course Go into the question bank and edit the question Verify: The restored questions have the same tags as the originals.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:

      Description

      Questions that have tags assigned to them (both official and user defined) and were created in a course do not have the question-tag association properly restored, performing a backup and restore of an activity (quiz for example) that uses the question bank into a different course.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            adelamarre Akin Delamarre
            Peer reviewer:
            Tim Hunt
            Integrator:
            Dan Poltawski
            Tester:
            Adrian Greeve
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              13/May/13