-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.1.5
-
None
-
2023091101
-
MOODLE_401_STABLE
We just encountered an issue when viewing a crossword. There is an invalid query executed: `Unknown column 'version' in 'order clause'`. After some analysis it seems that in locallib, method `game_questions_shortanswer_question_fraction` there is a order criteria added if moodle is 4.0 or newer. From my understanding the version column is only available if a query is executed against `question_versions` which is not always the case. For example see the invocation in `game_questions_shortanswer_quiz`.
I suppose this issue affects Moodle 4.0+