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

Minimise questions included with quiz backups (or duplication)

    XMLWordPrintable

    Details

    • Difficulty:
      Difficult
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_31_STABLE, MOODLE_35_STABLE, MOODLE_39_STABLE

      Description

      In MDL-12403 we addressed the ability to exclude the question bank entirely from backups. But people would also like it so that the entire question category is not included if a quiz uses a question from that category.

      For example, in the following hierarcy, all questions will be backed up:

      • System Question - IN QUIZ
      • System Question - NOT IN QUIZ
        • Course Cat Question - IN QUIZ
        • Course Cat Question - NOT IN QUIZ
          • Course Question - IN QUIZ
          • Course Question - NOT IN QUIZ
            • Quiz Question - IN QUIZ

      Ideally, only the ones in the quiz would be backed up. However, this is very tricky problem, because there can be cases like random questions where it can be any question from a category.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              136 Vote for this issue
              Watchers:
              102 Start watching this issue

                Dates

                Created:
                Updated: