-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.5, 4.1.6
When user tries to enter a quiz a bit too late, it shows the reason within error message.
That message shows html-code amidst the plain text.
"You are not allowed to attempt this quiz at this time because: <p class="text-left">This quiz is currently not available.</p>"
More information about this error"
A way to reproduce the error
- As admin/teacher create a quiz with at least one question
- Go quiz setting 'Set Timing' > 'Close the quiz' e.g. after 1-5 minutes in the future (which ever time it takes to open the quiz as student)
- Log in as a student account
- Go to the course and click to open the quiz, but do not Attempt quiz yet.
- Wait until the quiz closing time goes over
- Push "Attempt quiz" button to try to start the quiz -> error is shown
- is duplicated by
-
MDL-81957 Quiz error message is HTML escaped when it shouldn't
- Closed