-
Bug
-
Resolution: Fixed
-
Minor
-
3.8.3, 3.8.5, 3.9.2
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-68900-master -
It appears that grading is not available if the question post is not visible.
FULL STEPS
- Create a Q&A forum
- Add a question as a teacher
- Add a response as a student
- Change the question post to have a display period in the past
- Click Grade users button
- Advance beyond teacher/question post to first student post
EXPECTED
- User interface to grade is available
ACTUALLY HAPPENS
- Invalid response value detected error (debug output below)
I was also able to reproduce this on sandbox.moodle.net.
discussions => Invalid response value detected (posts => Invalid response value detected (userposts => Invalid response value detected (timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): userposts => Invalid response value detected (timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): posts => Invalid response value detected (userposts => Invalid response value detected (timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): userposts => Invalid response value detected (timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): timecreated => Invalid response value detected (Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type): Invalid external api response: the value is "" of PHP type "NULL", the server was expecting "int" type
Error code: invalidresponse
- line 442 of /lib/externallib.php: invalid_response_exception thrown
- line ? of unknownfile: call to external_api::clean_returnvalue()
- line 250 of /lib/externallib.php: call to call_user_func()
- line 79 of /lib/ajax/service.php: call to external_api::call_external_function()
- has a non-specific relationship to
-
MDL-69066 Whole forum grading draws "invalidresponse" for students responding to a timed post
- Closed
- has been marked as being related by
-
MDL-69943 Add unit tests for \mod_forum_external::get_discussion_posts_by_userid()
- Open
- is a regression caused by
-
MDL-66078 Add WS and display to show all content for a user
- Closed
- will help resolve
-
MDL-69875 Hidden forum causing invalidresponse error when whole forum grading
- Closed