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

When "Allow retry once passed" option enabled in assessment, "Retry assessment" stops working in the assessmentResults component #86

Open
lokeshece1 opened this issue Feb 29, 2024 · 4 comments
Assignees
Labels

Comments

@lokeshece1
Copy link

Subject of the issue/enhancement/features

When "Allow retry once passed" option enabled in assessment, "Retry assessment" stops working in the assessmentResults component

Your environment

  • version Framework: 5.36.2

Steps to reproduce

Open the course in the Authoring tool
2) Update the Assessment settings for the article in the Questions page
3) Force rebuild the course
4) Open the Question page
5) Answer all questions correct
6) Go to the Assessment results page
7) Check that results are displayed
8) Click the Retry Assessment button

Expected behaviour

When “Allow retry once passed” is enabled, clicking the “Retry assessment” button in the results component should return to the page and reset all the questions. When it is enabled alongside “Reset on Revisit” all the questions should also reset when leaving and returning to the page (once the assessment has already been completed)

Actual behaviour

When “Allow retry once passed” is enabled, the “Retry Assessment” button stops working, so there is no way to actually reset the questions.
When enabled alongside “Reset on Revisit” the questions do reset when leaving and returning to the page after completing all questions, however, the Assessment Results component never registers the assessment as complete.

Screenshots (if you can)

image

screen-capture.mp4
@joe-allen-89 joe-allen-89 self-assigned this Mar 22, 2024
@joe-allen-89 joe-allen-89 removed their assignment May 23, 2024
@joe-allen-89
Copy link
Contributor

Hi @lokeshece1,

I've just been testing this issue, can you confirm you have _routeToAssessment set to true in the assessmentResults component?

Thanks
Joe

@lokeshece1
Copy link
Author

lokeshece1 commented May 23, 2024

@joe-allen-89 The _routeToAssessment is currently set to false. Changing it to true does not alter the behavior.

Thanks
Lokesh.K

@oliverfoster
Copy link
Member

How many attempts do you have on the assessment?

@lokeshece1
Copy link
Author

Infinite attempts -1

@joe-allen-89 joe-allen-89 self-assigned this Jun 5, 2024
@joe-allen-89 joe-allen-89 transferred this issue from adaptlearning/adapt-contrib-assessment Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants