petlof / liveresults

EmmaClient is a client-server system for publishing liveresults from Orienteering events. It have been used on many major events such as JWOC, WOC, EOC,..
http://liveresultat.orientering.se
GNU Lesser General Public License v3.0
40 stars 24 forks source link

eventId and eventRaceId is hardcoded in ReadRadioControls() #54

Closed fredricj closed 2 years ago

fredricj commented 2 years ago

In the fix for OLA 6.3.0, a new query was introduced in ReadRadioControls(). This query uses hardcoded IDs for eventId and eventRaceId which the pre-6.3.0 query don't. This will cause issues for competition having multiple competitions in the same schema (multi-day competitions etc).

https://github.com/petlof/liveresults/blob/1f9e7bf8ee89a959ae9e5e259a9c9f8f54214f30/LiveResults.Client/Parsers/OlaParser.cs#L605