update RACE_LOGS collection if RaceLogRegisterCompetitorEvent has receiver boat ID; specific hack to migrate 2. Bundesliga smartphone-tracked events' competitors

Change-Id: I8ce7e4949603eb794ba5f84aa439c74c341130b2
This commit is contained in:
Axel Uhl
2018-03-21 01:01:00 +01:00
parent bcd6e9f561
commit a379ab1812
3 changed files with 88 additions and 45 deletions
@@ -219,8 +219,7 @@ public class StoreAndLoadRaceLogEventsTest extends AbstractMongoDBTest {
} catch (InterruptedException ie) {
fail(ie.toString());
}
RaceLogEvent dbEvent = domainFactory
.loadRaceLogEvent((DBObject) dbObject.get(FieldNames.RACE_LOG_EVENT.name()));
RaceLogEvent dbEvent = domainFactory.loadRaceLogEvent((DBObject) dbObject.get(FieldNames.RACE_LOG_EVENT.name())).getA();
T actualEvent = (T) dbEvent;
return actualEvent;
}