Hello,
For a few days, I have a problem with moodle 3.2.1 (Build: 20170109) with the QUIZ module. People report that they have done the test, and the teacher still sees it as not passed.
Admin uses this link: https://somedomain.pl/moodle/report/outline/user.php?id=44&course=9&mode=complete
and see:
Quiz: Some_quiz_name
Grade: 66.67 % (Failed)
Attempt 1: 4.00/15.00 - Sunday, 24 September 2017, 2:57 PM
Attempt 2: 4.00/15.00 - Sunday, 24 September 2017, 3:25 PM
Attempt 3: 4.00/15.00 - Sunday, 24 September 2017, 3:52 PM
Attempt 4: 2.00/15.00 - Sunday, 24 September 2017, 4:07 PM
Attempt 5: 10.00/15.00 - Sunday, 24 September 2017, 6:07 PM
Attempt 6: 8.00/15.00 - Sunday, 24 September 2017, 6:28 PM
Attempt 7: 15.00/15.00 - Friday, 29 September 2017, 1:31 PM
What is suspicious, because Attempt # 7 has 15/15 so 100% not 66.67%. After checking in the database:
MariaDB [moodle]> select id,quiz,userid,attempt,preview,state,sumgrades from mdl_quiz_attempts where userid=44 and quiz=89;
+------+------+--------+---------+---------+----------+-----------+
| id | quiz | userid | attempt | preview | state | sumgrades |
+------+------+--------+---------+---------+----------+-----------+
| 7626 | 89 | 44 | 1 | 0 | finished | 4.00000 |
| 7627 | 89 | 44 | 2 | 0 | finished | 4.00000 |
| 7628 | 89 | 44 | 3 | 0 | finished | 4.00000 |
| 7629 | 89 | 44 | 4 | 0 | finished | 2.00000 |
| 7630 | 89 | 44 | 5 | 0 | finished | 10.00000 |
| 7631 | 89 | 44 | 6 | 0 | finished | 8.00000 |
| 7670 | 89 | 44 | 7 | 1 | finished | 15.00000 |
+------+------+--------+---------+---------+----------+-----------+
7 rows in set (0.00 sec)
As you can see, last record has preview flag set to 1.
I've checked and this may be a false clue, but looks like for a few days all records have this flag set to 1. Before that - all set to 0.
Any idea, what's wrong ?
Some tech data:
Centos7 in docker (kernel 3.10.0-514.26.2.el7.x86_64)
mariadb-5.5.52
mod_php71w-7.1.0-1.w7.x86_64 (from Webtatic centos repo)
httpd-2.4.6-45.el7.centos.x86_64
moodle 3.2.1 (Build: 20170109)
Regards
Adam