canvas-lms
canvas-lms copied to clipboard
Question Bank Name is set to "No Name - [Course Name]" when importing more than one question from a QTI v2.1 file
Summary:
When importing questions to a new question bank from a QTI v2.1 file, if there is more than one question in the file, the question bank name gets overridden with "No Name - " followed by the course name.
Steps to reproduce:
- Get a QTI v2.1 zip file with more than one question. We use https://github.com/Learnosity/learnosity-qti to convert our Learnosity assessments to QTI files.
- Open a blank course in Canvas.
- Click on "Import Existing Content"
- Next to Content Type, choose "QTI .zip file"
- Next to Source, choose the QTI zip file.
- Next to Default Question bank, choose "--Create new question bank--"
- Enter a Question bank name.
- Click import.
- Wait for import to finish.
- Click on Quizzes.
- Click on the three dots button on the top right.
- Click on Manage Question Banks.
Expected behavior:
The question bank is available with the name provided in step 7 above.
Actual behavior:
The question bank is called "No Name -" followed by the course name.