12urenloop / Telraam

New and hopefully improved application to count laps of the 12urenloop event
MIT License
6 stars 2 forks source link

Test switchovers with null batonid's #107

Closed redfast00 closed 7 months ago

redfast00 commented 1 year ago

At the moment, there are two occasions when we'd like to use a null batonid in a batonswitchover:

We used to do the previousbatonid null case by just having a fixed baton that isn't used and using that id. This works, but is ugly in the database. At the current 6urenloop, we used null, which worked for the HMM lapper, but not for RobustLapper (fixed now)

We still use a fixed newbatonid of a baton that is not in use for the end of the competition; we should test that a null id works for newbatonid to deassign a baton