-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.1
-
MOODLE_404_STABLE
We are currently working with version 4.1.11+.
However, due to the dates of the initial cases, we can say that this error has been occurring since June 2023 when we migrated to the current version of 4.1.
We have also verified that this behavior occurs in version 3.9.18 on our servers.
Finally, we have also confirmed that it reproduces in the Moodle Sandbox, version 4.4.1.
------------------
The issue description is as follows:
1) We create a course.
2) Within this course, we create a SCORM activity (both with a single attempt and with unlimited attempts, the error occurs).
3) In this SCORM activity, we load a SCORM course that sends a score of 0 on the first page, i.e., the variable cmi.core.score.raw is set to 0 in Moodle.
4) We configure the SCORM completion as 'Students must manually mark the activity as done.'
5) We select this SCORM as the sole requirement for completing the course.
6) Next, we log in with a user who enrolls in the course and accesses the SCORM activity. After loading the first page, we close the SCORM course without taking any further action.
7) When we log in again as an admin, we observe that the user's attempt tracking in the SCORM shows as incomplete, with a score of 0. However, here's the issue: the course appears as completed for the user.
------------------
We have also conducted a similar test with a course that does not send a score, and the behavior is correct. Neither the activity nor the course is marked as completed on the first page.
Therefore, we deduce that Moodle behaves incorrectly when receiving a score from a SCORM activity, completing the module even when 'Receiving a score' is not a completion requirement.
Thanks for your help on this matter
Wizard.