-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
backendbugSomething isn't workingSomething isn't workingpriority: highIssues that are important and need to be addressed soon but are not causing an immediate crisisIssues that are important and need to be addressed soon but are not causing an immediate crisis
Description
Describe the bug
Backend expects time with timezone but according to iof xml xsd it's not mandatory. For example tag like this:
<StartTime>2025-11-14T19:43:00</StartTime>To Reproduce
Upload attached xml with start list.
Expected behavior
Upload should work without issues
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Error log:
PrismaClientValidationError:
Invalid `prisma.competitor.create()` invocation:
{
data: {
class: {
connect: {
id: 105
}
},
firstname: "Martin",
lastname: "Šimáček",
nationality: undefined,
registration: "RCZ9701",
license: null,
organisation: "Reprezentace juniorů a dospělých",
shortName: undefined,
bibNumber: 18,
startTime: "2025-11-14T19:43:00",
~~~~~~~~~~~~~~~~~~~~~
finishTime: null,
time: null,
card: 7002111,
status: "Inactive",
lateStart: false,
team: undefined,
leg: undefined,
externalId: "RCZ9701",
note: null,
updatedAt: new Date("2025-11-22T15:07:36.736Z")
}
}
Invalid value for argument `startTime`: premature end of input. Expected ISO-8601 DateTime.
Metadata
Metadata
Assignees
Labels
backendbugSomething isn't workingSomething isn't workingpriority: highIssues that are important and need to be addressed soon but are not causing an immediate crisisIssues that are important and need to be addressed soon but are not causing an immediate crisis