Skip to content

Commit bf5d4c3

Browse files
vmcjmeisterT
authored andcommitted
Document the hot-fix as this breaks importing on live situations
(cherry picked from commit d57f387)
1 parent 79f30fd commit bf5d4c3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webapp/src/DataTransferObject/Shadowing/EventType.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ public static function fromString(string $value): EventType
2929
return EventType::CONTESTS;
3030
}
3131

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

0 commit comments

Comments
 (0)