Skip to content

Commit

Permalink
Document the hot-fix as this breaks importing on live situations
Browse files Browse the repository at this point in the history
(cherry picked from commit d57f387)
  • Loading branch information
vmcj authored and meisterT committed Sep 27, 2024
1 parent 3e14676 commit 80e66fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webapp/src/DataTransferObject/Shadowing/EventType.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ public static function fromString(string $value): EventType
return EventType::CONTESTS;
}

// When encountering an error for an unknown event
// consider if we need to verify this as shadow or
// ignore it by adding the case in:
// webapp/src/DataTransferObject/Shadowing/EventType.php
// webapp/src/Service/ExternalContestSourceService.php
return EventType::from($value);
}

Expand Down

0 comments on commit 80e66fb

Please sign in to comment.