-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.0.4, 3.1
-
None
-
MOODLE_30_STABLE, MOODLE_31_STABLE
MDL-41922 introduced the ability for quiz_get_user_attempts() to handle more than 1 quiz. It added a unit test that handled multiple quizzes.
That test assumes that the results of quizzes will be in a certain order. They are sorted by attempt. However with multiple quizzes, there are multiple attempt 1's and you can get either quiz first. In MySQL you will always get the same order, but in PostgreSQL that in not guaranteed and results in random unit test failures. The result may not make sense when sorted in that order either.
- Discovered while testing
-
MDL-54947 Update PostgreSQL binary (bytea) handling and improve connection performance
- Closed
- duplicates
-
MDL-54881 mod_quiz_lib_testcase::test_quiz_get_user_attempts failing randomly
- Closed
- is a regression caused by
-
MDL-41922 Course overview block incorrectly reports to students that quiz/assignments need attention
- Closed