-
Bug
-
Resolution: Fixed
-
Major
-
3.5.2
-
MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-63394-master -
Steps to reproduce:
- Setup a quiz with a small "Time limit", "When time expires" set to "There is a grace period when open attempts can be submitted, but no more questions answered" and a long "Submission grace period".
- Start a new quiz attempt and wait for the time limit to reach 0.
- Now call the WebService mod_quiz_process_attempt with the attemptid and finishattempt set to 1. Check that the WS always returns an exception.
I checked the WS code and mod_quiz_process_attempt calls validate_attempt with only 2 parameters. This means that $failifoverdue is set to true, so an exception is returned if the state of the attempt is overdue.
- will help resolve
-
MOBILE-2586 Error when submitting a quiz with grace period
- Closed