-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Students not being automatically enrolled #37
Comments
Hi @ewallah, Thanks for the quick response. Yes, the plugin worked in the past; however, I am unsure when it stopped working. I can confirm that the Course Completion works correctly when a student passes the relevant exam, which is displayed in the Course Report. Logs are also indicating Course Completion working correctly. I have added a test user and marked everything as completed Live Logs of Course A: Doesn't appear to be updating. Waited around 10 minutes. Course B: Show no enrolment from the plugin |
THX for your quick response. I will try to create a behat script mimicking your situation: self enrollment with some users disabled in combination with manual enrollment. Are you using other plugins (recompletion - progress bar - ...) that interact with course completion? I see 2 possible scenarios for your problem: The callback is never reached or the enroll breaks for some reason or other. Can you check that the test user is appearing in the enrol users who completed the course in the past? Users > Enrolment methods > After completing course xxx > enrol users ? |
The only other plugin we are using is https://moodle.org/plugins/enrol_attributes but this doesn't interact with course completion. I cannot find the enrolled users who completed the course in the past |
Do you have ad hoc tasks ? Site administration / Server / Tasks / Ad hoc tasks P.S. On first sight, the combination with the enrol_attributes works fine: https://github.com/ewallah/moodle-enrol_coursecompleted/actions/runs/10551462448/job/29228939200#step:4:1 |
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Describe the bug
We have multiple courses set up that require the completion of a pre-requisite course. However, when students successfully complete the courses, they are not automatically enrolled in the next course. Therefore, we have to do it manually.
We have set up a CRON to force the update every 15 minutes; however, this hasn't worked. Script used is
moodle.DOMAIN/admin/cli/scheduled_task.php --execute='\core\task\completion_regular_task'
though is does run successfully.To Reproduce
See screenshots above
Expected behavior
We expect students to be enrolled automatically. With the amount of students we have its becoming very difficult to manually enrol students.
Additional context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible, except under certain conditions.
The text was updated successfully, but these errors were encountered: