openTdataCH / ojp-nova

Interface between OJP and NOVA to return an OJPFareDelivery
1 stars 0 forks source link

Using 850050 -> 8507000 has no trip #6

Closed ue71603 closed 1 year ago

ue71603 commented 1 year ago

If no trip can be found a suitable error should be returned. It dosn't make sense to start the Nova request then.

skinkie commented 1 year ago

@ue71603 no nova request is started, unless then there is a tripresult right? From service perspective.

ue71603 commented 1 year ago

I think it was started an created an error.

skinkie commented 1 year ago

https://github.com/openTdataCH/ojp-nova/blob/master/server.py#L25

This should be explicitly checked then. But I guess also an OJP error 'in protocol'.