Wunderbyte-GmbH / moodle-mod_booking

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

Moodle Group enrollment does not work #635

Open felipecalixtoreis opened 1 week ago

felipecalixtoreis commented 1 week ago

Describe the bug When creating a scheduling option, the group is created within Moodle groups, which is correct, however, when a user makes a booking using the plugin feature, that user is not registered in the group and the server log generates this error :

Versions uses Moodle version: 4.4.3+ Boooking version: 8.7.2 (2024100800)

To Reproduce Steps to reproduce the behavior:

  1. Go to booking activitie
  2. Click on 'book now'
  3. After user booked, look the group status of the user

Expected behavior The user must be subscribed to the group for which he booked.

Additional context Server log error here:

[STDERR] Debugging: Coding problem: $PAGE->context was not set. You may have forgotten to call require_login() or $PAGE->set_context(). The page may not display correctly as a result in

dasistwas commented 6 days ago

@felipecalixtoreis thank you for reporting the bug. I could reproduce the problem. May I ask you if you purchased a pro license?

felipecalixtoreis commented 2 days ago

@dasistwas I believe I bought it a few years ago, but the version I use today is not the PRO.