Wunderbyte-GmbH / moodle-mod_booking

Moodle Booking Module
https://www.wunderbyte.at
21 stars 39 forks source link

Unenrolled users on Sign-In Sheet. #632

Open JoshuaAuthement opened 2 hours ago

JoshuaAuthement commented 2 hours ago

Describe the bug The root issue is that when a user unenrolls from the course, they are not unenrolled from the booking. The user is still listed in the booking list, so they are reflected on the sign-in sheet/attendance activity.

Versions uses Moodle version: 4.3 Booking version: 8.2.4

To Reproduce Steps to reproduce the behavior:

  1. Go to the booking activity and have a user book a session.
  2. Unenroll the user from the course.
  3. Go to the booking activity.
  4. The user will be listed in the sign-in sheet/attendance activity for the booking.

Expected behavior When a user unenrolls from the course, they are no longer on the sign-in sheet/attendance activity. So, people who are enrolled into the course can join the session.

Screenshots

Left side shows the sign-in sheet/attendance activity. Right side shows the enrolled users. image

Additional context The issue is present in release version 8.6.19 which we test on a blank dev site.