Problem
When attempting to remove a staff member from an IT Alerting calendar, the system can display a validation error stating that “Shifts do not occur on days”, and the staff change cannot be saved.
Root Cause
This error occurs on older shift and staff schedule data that was created before a previous system fix. The legacy data does not align with the updated schedule logic, which results in the validation error when staff changes are applied to the calendar.
Solution
To resolve the “Shifts do not occur on days” error when removing a staff member from a calendar, update and re-save the shift schedule so that it aligns with the current schedule logic, and then re-apply the staff change.
Follow these steps:
- Edit the shift schedule and change the Number of days to a different value than its current setting (for example, from 7 days to 8 days), then save the shift schedule.
- Edit the same shift schedule again and change the Number of days back to the original value (for example, from 8 days back to 7 days), then save the shift schedule again.
- Return to the staff schedule and remove the staff member. The staff update should now save without the error.
This solution is effective particularly for older calendar data created before the previous system fix.
Workaround
No additional workaround is required beyond the solution steps described above. Updating the shift schedule by temporarily changing and then restoring the Number of days permits the staff removal to be saved without the “Shifts do not occur on days” error, especially on legacy calendar data.