-
Bug
-
Resolution: Fixed
-
Major
-
2.9.4, 3.0.2, 3.1
-
MOODLE_29_STABLE, MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
Steps to reproduce:
- Make sure developer debug is on.
- Create a new quiz with question bahaviour: Immediate feedback, and Show more... -> Allow redo: On.
- Add a random question, creating a new category.
- In the question bank, create 2 Simple calculated questions in that category, each with 10 datasets.
- Attempt the quiz as a student.
- Answer the question, then click the redo button.
Expected result: No errors.
Acutal result:
[10-Feb-2016 13:45:13 Europe/London] PHP Notice: Undefined index: learn2.open.ac.uk+140129140739+KtJfMv in /srv/learn2.open.ac.uk/www/html/question/classes/engine/variants/least_used_strategy.php on line 93
Also, it was not actually using the variant that it had carefully selected.