Skip to content

Stop clobbering bank names when there is more than one question#2347

Open
tpaulshippy wants to merge 1 commit intoinstructure:masterfrom
tpaulshippy:master
Open

Stop clobbering bank names when there is more than one question#2347
tpaulshippy wants to merge 1 commit intoinstructure:masterfrom
tpaulshippy:master

Conversation

@tpaulshippy
Copy link

@tpaulshippy tpaulshippy commented Apr 23, 2024

Closes #2346

Test Plan: See replication steps in #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 (a81d6c3).

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

After
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question Bank Name is set to "No Name - [Course Name]" when importing more than one question from a QTI v2.1 file

2 participants