marcusgreen / moodle-qtype_wordselect

langHighlight words by clicking e.g. select all nouns in this sentence

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can reproduce what you are seeing and I don't know why it is happening.

rezeau opened this issue · comments

I can reproduce what you are seeing and I don't know why it is happening.

Originally posted by @marcusgreen in #47 (comment)

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