Skip to content
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

Group sessions not added to Moodle calendar unless session for all is present #717

Open
a-b0wers opened this issue Nov 23, 2023 · 2 comments
Labels

Comments

@a-b0wers
Copy link

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:

  1. Create Attendance module with visible groups
  2. Create group session
  3. Confirm not visible to group members in Calendar
  4. Go back and create session for all
  5. Confirm the group session (and all session) is now visible in calendar
  6. Delete session for all from attendance module
  7. Confirm the group session is missing from the calendar again

Alternative steps:

  1. Add Attendance module with group mode as separate groups
  2. Add a session for a group
  3. Confirm that it's not visible to group members in Calendar
  4. Change group mode to no groups or visible groups
  5. Add a session for all
  6. Confirm the original group session is now visible in the calendar
@a-b0wers a-b0wers changed the title Group sessions not added to Moodle calendar unless session for 'all' is present Group sessions not added to Moodle calendar unless session for all is present Nov 23, 2023
@danmarsden danmarsden added the bug label Nov 28, 2023
@danmarsden
Copy link
Owner

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
Copy link
Author

Thanks Dan.
Unfortunately I can't develop - but I was able to replicate the issue in Moodle 4.2.3 with plugin version 2023041800.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants