Closed rezeau closed 3 months ago
OOps! did not want to open a new issue, just to confirm the problem mentioned by @juanpablo With debug ON I get this error message, which might help to explain the bug:
_Before calling format_text(), the content must be processed with file_rewrite_pluginfile_urls()
line 1347 of \lib\weblib.php: call to debugging()
line 448 of \question\type\wordselect\question.php: call to format_text()
line 109 of \question\behaviour\deferredfeedback\behaviour.php: call to qtype_wordselect_question->grade_response()
line 57 of \question\behaviour\deferredfeedback\behaviour.php: call to qbehaviour_deferredfeedback->process_finish()
line 1356 of \question\engine\questionattempt.php: call to qbehaviour_deferredfeedback->process_action()
line 1396 of \question\engine\questionattempt.php: call to question_attempt->process_action()
line 859 of \question\engine\questionusage.php: call to question_attempt->finish()
line 179 of \question\bank\previewquestion\preview.php: call to question_usage_by_activity->finish_all_questions()_
Most excellent. I thought I had used that function in one of my question types previously but I cannot find it now. I will continue to search
I can reproduce what you are seeing and I don't know why it is happening.
_Originally posted by @marcusgreen in https://github.com/marcusgreen/moodle-qtype_wordselect/issues/47#issuecomment-1162376963_