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

Blackboard ZIP import with multiple pool files should treat each file as a separate category

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: Questions
    • Labels:
    • Testing Instructions:
      Hide

      Current behaviour:

      1. Import the bb-test.zip sample as Blackboard format into a course ensuring the "Get category from file" option is selected and the "Import category" is "Default for Course Name Here".
      2. Go to Course administration > Question bank > Categories.
      3. Observe no new categories have been created underneath "Default for Course Name Here".
      4. Go to Course administration > Question bank > Questions.
      5. Observe that four questions named "res0000x qy" have been imported to the "Default for Course Name Here".

      New behaviour:

      1. Import the bb-test.zip sample as Blackboard format into a course ensuring the "Get category from file" option is selected and the "Import category" is "Default for Course Name Here"..
      2. Go to Course administration > Question bank > Categories.
      3. Observe that two categories have been created under "Default for Course Name Here": "res00000 title" and "res00001 title".
      4. Go to Course administration > Question bank > Questions.
      5. Select the "res00000 title" category and observe that two new questions named "res00000 q1" and "res00000 q2" have been imported.
      6. Select the "res00001 title" category and observe that two new questions named "res00001 q1" and "res00001 q2" have been imported.
      Show
      Current behaviour: Import the bb-test.zip sample as Blackboard format into a course ensuring the "Get category from file" option is selected and the "Import category" is "Default for Course Name Here ". Go to Course administration > Question bank > Categories. Observe no new categories have been created underneath "Default for Course Name Here ". Go to Course administration > Question bank > Questions. Observe that four questions named "res0000x qy" have been imported to the "Default for Course Name Here ". New behaviour: Import the bb-test.zip sample as Blackboard format into a course ensuring the "Get category from file" option is selected and the "Import category" is "Default for Course Name Here ".. Go to Course administration > Question bank > Categories. Observe that two categories have been created under "Default for Course Name Here ": "res00000 title" and "res00001 title". Go to Course administration > Question bank > Questions. Select the "res00000 title" category and observe that two new questions named "res00000 q1" and "res00000 q2" have been imported. Select the "res00001 title" category and observe that two new questions named "res00001 q1" and "res00001 q2" have been imported.
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      For Zipped Blackboard 6+ format question files having multiple res000xx.dat pool files within, currently all questions get imported into the one category. As each pool file may represent a separate category, my patch interprets each pool as an individual category for importing. The title of the category comes from the name of the pool. The existing behaviour of importing into the one category can still be achieved by disabling the "Get category from file" import option.

      Attached example ZIP has two pools each with two questions to demonstrate.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

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