Wunderbyte-GmbH / moodle-mod_booking

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

Completion Condition not triggered #629

Open JoshuaAuthement opened 6 days ago

JoshuaAuthement commented 6 days ago

Describe the bug When the completion condition is set to 'Add requirements' then choosing 'Count of entries', we set it to 1. The condition is not marked as completed when a user books a session.

Versions uses Moodle version: 4.3 Booking version: 8.2.4

To Reproduce Steps to reproduce the behavior:

  1. Go to the booking activity settings.
  2. Click on completion conditions. Select 'Add requirements' then check the box for 'Count of entries' and enter 1 into the text box. Save changes.
  3. Have a user enroll in a booking session.
  4. The activity is not marked as complete.

Expected behavior Once a user books a session, the activity should be marked as complete.

Screenshots

Booking Settings: image

User booked: image

Activity for user not marked complete: image

dasistwas commented 5 days ago

Could you try if the issue still persists in the latest release: https://github.com/Wunderbyte-GmbH/moodle-mod_booking/releases/tag/v8.6.19

dasistwas commented 2 days ago

Any news about this @JoshuaAuthement ?

dasistwas commented 2 days ago

It is possible that this feature does not work right now.

dasistwas commented 2 days ago

@semteacher could you have a look at that?

JoshuaAuthement commented 2 days ago

Any news about this @JoshuaAuthement ?

We are working on installing the plugin from GitHub.

semteacher commented 1 day ago

As I can see from code and recent tests, completion feature now working in the following way:

JoshuaAuthement commented 1 day ago

We created a blank dev site to test the plugin. I was going to say that the completion condition was not triggered, but I see from the post above that it has to be manually confirmed. Something else that was noticed related to the completion condition is that it is not listed on the course home page. image

Also, when you go to the settings and click save, the completion condition is triggered without manually confirming it. However, when another user books a session, the condition is still not triggered.