When using 1.1.3 QTI files, like the respondus zip at gems/plugins/qti_exporter/spec_canvas/fixtures/canvas_respondus_question_types.zip it looks like the assessment title is pulled from the xml (<assessment title="Title here">) and that is used to name the question bank. This is still a bit deceiving in my opinion, because the UI indicates that you can provide the bank name there (not in the file). But I'm not dealing with those files so I'm not as concerned about that issue.
I just want my question banks to have the name I'm providing.
Closes https://github.com/instructure/canvas-lms/issues/2346
Test Plan: See replication steps in https://github.com/instructure/canvas-lms/issues/2346
We encountered this issue when trying to import QTI 2.1 items into question banks. It looks like this line of code was questioned at the time it was added (https://github.com/instructure/canvas-lms/commit/a81d6c38526196f5f2b8102ad01015838002dfbb).
When using 1.1.3 QTI files, like the respondus zip at
gems/plugins/qti_exporter/spec_canvas/fixtures/canvas_respondus_question_types.zip
it looks like the assessment title is pulled from the xml (<assessment title="Title here">
) and that is used to name the question bank. This is still a bit deceiving in my opinion, because the UI indicates that you can provide the bank name there (not in the file). But I'm not dealing with those files so I'm not as concerned about that issue.I just want my question banks to have the name I'm providing.
Before![image](https://github.com/instructure/canvas-lms/assets/3137263/a8939f0a-00f0-470f-8f36-2f7cf260f6ad)
After![image](https://github.com/instructure/canvas-lms/assets/3137263/6aa2905d-a084-456b-a90f-4f61d51b3a78)