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

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.

@danielghost danielghost added this to New in adapt_framework: The TODO Board via automation Mar 30, 2022
@oliverfoster oliverfoster self-assigned this Apr 27, 2022
@oliverfoster oliverfoster moved this from New to Assigned in adapt_framework: The TODO Board 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.

@oliverfoster oliverfoster moved this from Assigned to Backlog in adapt_framework: The TODO Board Apr 27, 2022
@oliverfoster oliverfoster moved this from Backlog to Assigned in adapt_framework: The TODO Board Apr 27, 2022
@oliverfoster oliverfoster moved this from Assigned to Needs reviewing in adapt_framework: The TODO Board Apr 28, 2022
adapt_framework: The TODO Board automation moved this from Needs reviewing to Needs releasing May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants