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

assessments "soft" reset #160

Closed
danielghost opened this issue Mar 30, 2022 · 1 comment · Fixed by #165
Closed

assessments "soft" reset #160

danielghost opened this issue Mar 30, 2022 · 1 comment · Fixed by #165
Assignees
Labels

Comments

@danielghost
Copy link
Contributor

When an assessment is set to use a "soft" reset on its question models, the assessment and assessments models both reset their completion properties, but the _assessmentState saved in https://github.com/adaptlearning/adapt-contrib-core/blob/aacbc90cc7eeedaea649270303a695c9fc7f45a0/js/tracking.js retains the completion for use in its completion checks. However, if a course contains multiple assessments, and one is "soft" reset before the other is completed, the tracking will not have saved the _assessmentState to be used later, meaning any reset assessment needs to be retaken.

@oliverfoster oliverfoster self-assigned this Apr 27, 2022
@oliverfoster
Copy link
Member

oliverfoster commented Apr 27, 2022

Update:

  1. Assessment 1 is completed then soft reset, assessment 2 is then completed. Course isn't complete.
  2. If you complete them both first and then soft reset it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants