Files
cal.diy/packages/features/bookings/lib/handleSeats
ac3699dcb4 fix: set attendeeSeatId in evt for seated booking reschedule emails (#26498)
* fix: set attendeeSeatId in evt for seated booking reschedule emails

When an attendee reschedules a seated booking, the reschedule/cancel links
in emails were using bookingUid instead of seatUid after the first reschedule.
This was because evt.attendeeSeatId was not being set before sending the email.

This fix ensures that evt.attendeeSeatId is set to bookingSeat.referenceUid
so that the email links consistently use seatUid for seated bookings.

Co-Authored-By: [email protected] <[email protected]>

* test: add E2E test for seatUid preservation across multiple reschedules

Co-Authored-By: [email protected] <[email protected]>

* fix: use valid time slots within availability window for E2E test

Co-Authored-By: [email protected] <[email protected]>

* fix: make E2E test self-contained to avoid shared state issues

Co-Authored-By: [email protected] <[email protected]>

* fix: update E2E test to validate seatUid usability across reschedules

Co-Authored-By: [email protected] <[email protected]>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-08 14:15:40 +02:00
..
2025-12-15 10:43:22 +00:00
2025-12-15 10:43:22 +00:00