Fix assignment/assessment identifier mismatch issue #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#18
There is an identifier mismatch problem in the generated assessment_meta.xml, which will lead to an issue that Canvas ignores the quiz description, quiz options, and questions titles. The root cause of the problem is in the
qti.py
, when instantiating 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,