fix: allow updating room assignments in edit mode

This commit is contained in:
Björn Fromme committed 2026-03-16 12:02:59 +01:00
1 parent 380b1ed329
commit f46cc59041
11 files changed
+191 -21

No files matched your search

+5
View File
@@ -132,6 +132,11 @@ class ParticipantEditDto
#[Assert\Callback(groups: ['booking_create', 'booking_edit'])]
public function validateEmailUniqueness(ExecutionContextInterface $context): void
{
// Skip for internal agency bookings — staff use shared placeholder emails
if ($this->bookingContext->isInternalAgencyBooking()) {
return;
}
// Skip validation for applicant (index 0) - applicant's email can be shared with dependents
if (true === $this->participant->isApplicant()) {
return;