fix: allow updating room assignments in edit mode

This commit is contained in:
Björn Fromme committed 2026-01-30 17:29:26 +01:00
1 parent 0aa4bb5055
commit 6b205c7a86
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;