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

      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

              • Votes:
                121 Vote for this issue
                Watchers:
                87 Start watching this issue

                Dates

                • Created:
                  Updated: