-
Bug
-
Resolution: Fixed
-
Major
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
Hi there,
while testing this functionally in the mobile app we've noticed the following issues:
1. Web Services are broken, it seems originally the question number was an integer and it was not properly updated in WebServices that returns this information
"Invalid response value detected (questions => Invalid response value detected (number => Invalid response value detected (Invalid external api response: the value is "B" of PHP type "string", the server was expecting "int" type): Invalid external api response: the value is "B" of PHP type "string", the server was expecting "int" type): number => Invalid response value detected (Invalid external api response: the value is "B" of PHP type "string", the server was expecting "int" type): Invalid external api response: the value is "B" of PHP type "string", the server was expecting "int" type)"
2. If I change the custom question number, and then changed to shuffle
- I don't see any warning
- If I reload the question page it looks no custom question number, everything returns to 1,2,3,.. but student stills sees the custom question numbers now shuffled
3. I tried several inputs in the question custom number field:
- If I type L'Aina Lluís^ there is a SyntaxError: Unexpected end of JSON input
at parse (<anonymous>)
at ajaxConvert (XX/lib/javascript.php/-1/lib/jquery/jquery-3.6.1.js:9294:19)
at done (XX/lib/javascript.php/-1/lib/jquery/jquery-3.6.1.js:9772:15)
at XMLHttpRequest.<anonymous> (XX/lib/javascript.php/-1/lib/jquery/jquery-3.6.1.js:10083:9)
^ L'Aina works, and Lluís too. - (MINOR) If a teacher adds a TeX on the custom question number (for example $$a$$), the teacher sees it like it is ok (a instead of $$a$$). But the student sees it without the formatting ($$a$$). If Moodle doesn't accept TeX on the custom question number then it should be clear to the teacher. Please notice that we are allowing filtering in headers (in Moodle's filters settings)
4. edit_renderer::get_checkbox_render is using the customsied question number in the checkbox id (caused by MDL-71696).
- blocks
-
MOBILE-4284 Quiz: displayed question numbers to be customised
- Closed