Closed vpaturet closed 4 months ago
Is this the long running problem that Entur has been trying to figure out for months?
Absolutely. It is no longer critical since invalid trips are filtered out in Raptor, but it would be nice to have a complete fix. The module test helps a lot.
Some combinations of SIRI updates let the transit data in an inconsistent state where trips travel back in time. The error is caught by Raptor and the corresponding trips are ignored:
Traveling back in time is not allowed. Board time: 00:11:25+3d, alight stop pos: 0, stop arrival time: 01:59:25+3d, trip: TripScheduleWithOffset{info: BUS R13B #30962, pattern.id: RB:XXX:Line:L13B::622:RT, depart: 21:21:40}.
One sequence of messages causing this error is the following:
Create an extra journey with invalid planned data (travel back in time) and valid real time data:
Cancel the extra journey: