WebForms Group Scheduler Block Handles Schedule Exclusions Unexpectedly #5692
Labels
Fixed in v16.4
Status: Confirmed
It's clear what the subject of the issue is about, and what the resolution should be.
Type: Bug
Confirmed bugs or reports that are very likely to be bugs.
Description
In certain circumstances, the Webforms group scheduler block incorrectly displays the first occurrence of a schedule after a category exclusion ends when a week during the category exclusion period is selected.
As an example, see the screenshot below. The week ending December 10 is selected, but an occurrence for December 31 on another schedule (with a category exclusion applied) is visible.
Actual Behavior
A future occurrence, outside of the selected week, is displayed on the scheduler board.
Expected Behavior
Exclusions should be honored, and only occurrences within the selected week should be visible.
Steps to Reproduce
These steps were performed on the Rock Solid Demo site and Pre-Alpha.
Navigate to General Settings > Schedules. Create two schedule categories and a schedule within each category that occurs weekly on Sundays.
Navigate to the Group Viewer > Serving Teams > A/V team. Delete the current "Main Campus" meeting location. Add locations for "Main Campus" during the two test schedules created in step 1.
Navigate to the Group Scheduler (Webforms version) and view each of the six weeks available from the week selector dropdown by default. I expect this is creating AttendanceOccurrence records in the background.
On one of the schedule categories, add an exclusion over multiple weeks.
Navigate to the Group Scheduler page, view a week prior to the end of the configure exclusion range. An occurrence is unexpectedly visible on the group scheduler board for the first week after the exclusion period ends. This may be visible across multiple different weeks.
Issue Confirmation
Rock Version
14.3, 16.0, 17.0 pre-alpha
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: