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

When removing a question bank category with questions and subcategories, the count of questions to be moved includes questions and subcategories

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 5.0
    • Questions
    • MOODLE_500_STABLE

      How to reproduce

      1. In a Moodle course, create a question bank

      2. In the question bank, create a category (colors)

      3. In the question bank, create a subcategory of the category colors (subcategory colors)

      4. Add 4 questions to each category

      The question bank category page now looks like this

      5. Delete the category colors. You will receive the following dialog

      6. Confirm that you want to delete. You will receive the following dialog

      Problem

      The dialog speaks of 5 questions. The category color only contains 4 questions and 1 subcategory (with 4 questions). Obviously the subcategory is counted as question, which is incorrect.

      Expected behaviour

      The dialog in step 6 correctly lists the amount of questions and subcategories. In this case the dialog would state "The category 'colors' contains 4 questions and one subcategory 'colors subcategory' containing 4 questions".

       

            Unassigned Unassigned
            a.bonaccorso Antonia Bonaccorso
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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