mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
9d19157b08
This random error was caused because when reviewing an attempt, the first pageid to display is calculated based on the timeseen field in the lesson_attempst table. In Oracle, sometimes it returned the second pageid (because both had the same timeseen), so which led to these random failures. Apart from adding 1-second wait when the attempt is created (to guarantee the first page is returned properly), a few more improvements have been also made, like removing manual steps for setting the lesson activity or adding some extra checks to confirm the information displayed is expected.