cal.com
cal.com copied to clipboard
[CAL-471] Calendar conflict is ignored in Round Robin meetings using individual default availability
Issue Summary
Calendar conflict is ignored when showing the available timeslots in Round Robin meetings using individual default availability.
Steps to Reproduce
- create two users, both with an availability set as follows: user1 (Mo, Wed 9-5), user 2 (Fri 9-5)
- Create a round robin event with both users, this behaviour occurs both with common schedule and with individual schedules
- Connect the calendar of user 1 and create an event in the calendar of user 1 blocking one of their days (e.g. all of Wednesday)
- Connect the calendar of user 2 and create an event in the calendar of user 2 blocking one of their days (e.g. all of Friday)
- Now got to the events appointment page and see the available timeslots
Actual behaviour
- the user sees the timeslots only taking into account the default availability, but not the calendar conflict, so all times are shown as available
- For our example this means that the user sees available slots on Mo, Wed, Fri, even though user 1 is not available on the Wednesday due to the calendar event and user 2 is only available on Fridays.
- as a booking user I can select the timeslot (on the time which should not be available), but see an error when booking
Expected behaviour
- as a booking user I should not see available timeslots when no user is available taking into consideration their calendar conflicts AND availabilty
Technical details
- Tested on production on cal.com
@emrysal
@leog do you have bandwidth to investigate this one?
@leog do you have bandwidth to investigate this one?
@zomars talked with @emrysal and he will take a look, I'm second in line just in case