-
Improvement
-
Resolution: Fixed
-
Minor
-
4.3
-
MOODLE_403_STABLE
-
MOODLE_404_STABLE
-
MDL-79295-master -
The existing Web Service is not working as expected in some cases such as sequential navigation and when we need to retrieve the submission summary status (regardless the display options settings).
Required changes are:
- Return the state id ignoring the correctness status
- Return the number of unanswered questions so we can display the warning.
- When sequential navigation is on, currently all questions are ignored and not returned by the WS except the current one. The implementation needs to consider that the user is able to know the number of total questions and previous question statuses. But it should not know future questions content.
Notes for integrators and reviewers:
- We are not backporting these changes as we are modifying the Web Services signature
- I've used "stateid" as field name for the "state class (result of $attempt->get_question_state_class())" as this state identifier is used for both classes and string ids, I can rename it to something more suitable if required.
- blocks
-
MOBILE-4350 Quiz with sequential navigation doesn't work properly
-
- Closed
-
-
MOBILE-4339 Add a warning if quiz is being submitted with unanswered questions (follow-up of MDL-74996)
-
- Closed
-