Group sessions not added to Moodle calendar unless session for all is present
Opened this issue · 2 comments
a-b0wers commented
Moodle 4.0.11
Plugin version 4.0.11 2022083108
- Group sessions are not being added to Moodle calendar unless session for 'all' is also present - this applies to both me (site admin & enrolled teacher) and student view.
- Both dashboard and course calendar are affected.
- Relevant plugin settings are enabled e.g attendance | enablecalendar.
- Nothing appears in Plugins -> Attendance -> Reset calendar.
Steps to recreate:
- Create Attendance module with visible groups
- Create group session
- Confirm not visible to group members in Calendar
- Go back and create session for all
- Confirm the group session (and all session) is now visible in calendar
- Delete session for all from attendance module
- Confirm the group session is missing from the calendar again
Alternative steps:
- Add Attendance module with group mode as separate groups
- Add a session for a group
- Confirm that it's not visible to group members in Calendar
- Change group mode to no groups or visible groups
- Add a session for all
- Confirm the original group session is now visible in the calendar
danmarsden commented
Thanks for the detailed report! - it does sound like a bug - if you have internal development capabilities, feel free to submit a pull request with a suggested fix and I'll take a look - otherwise this might sit here for a while. thanks!
a-b0wers commented
Thanks Dan.
Unfortunately I can't develop - but I was able to replicate the issue in Moodle 4.2.3 with plugin version 2023041800.