-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.2
-
MOODLE_39_STABLE
-
MOODLE_310_STABLE
-
MDL-69823-master -
This web service is used when rendering quiz questions in the mobile app. However, at present it just returns the rendered HTML of the question. It does not return any of the question options as structured data. (This was discussed, long ago, in https://moodle.org/mod/forum/discuss.php?d=382348.)
For example, the essay question type is not returning the file extensions allowed to be submitted as part of the user's response.
However, the was this web service is designed to work, it must only send data that the student is allowed to know. So, for example, it would be wrong to sent the entire question_definition object data, because that includes things such as the right answer, and all feedback, which the student should to be able to see until the question is finished.
Therefore, in order to fix this, we need a new method on the question class, to return the important options for the question in its current state, but without giving away any inappropriate information to a student who accessed the raw data.
- blocks
-
MOBILE-2272 Quiz Essay Question Uploading in the mobile app
- Closed
- has been marked as being related by
-
MDL-68562 Qtype_essay: Adding file-size limit to the attachment files
- Closed
- is blocked by
-
MDL-54956 Quiz Web Services should return attached files during attempts
- Closed