Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas ignores quiz description and question titles #18

Closed
substance9 opened this issue Jul 27, 2020 · 2 comments
Closed

Canvas ignores quiz description and question titles #18

substance9 opened this issue Jul 27, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@substance9
Copy link

Hello @gpoore ,

I notice that Canvas ignores the quiz description and question titles when importing the QTI file generated by text2qti. This is also mentioned in your README file. After investigating, I found that the issue might be caused by an identifier mismatch problem in the generated assessment_meta.xml. The root cause of the problem is in the qti.py, when instantiate the assessment_meta and assessment. Simply change the following lines will fix the issue:

line 39 in qti.py:
From: assignment_identifier=self.assessment_identifier,
To: assignment_identifier=self. assignment_identifier,

line 49 in qti.py:
From: assessment_identifier=self.assignment_identifier,
To: assessment_identifier=self. assessment_identifier,

@substance9
Copy link
Author

I created a pull request #19 to fix the issue.

This change will also fix the issue that Canvas ignores quiz options like "Shuffle answers". (mentioned in v0.4.0 release)

@gpoore
Copy link
Owner

gpoore commented Aug 23, 2020

Thanks for reporting this! It's fixed now in the dev version on GitHub, and I'll try to release a new version on PyPI soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants