peter-mount / opendata

Latest & first public version of my code that monitors the UK Rail Network in real time using Open Data feeds
Other
12 stars 2 forks source link

departure boards showing cancelled reason at a non cancelled stop #51

Open peter-mount opened 9 years ago

peter-mount commented 9 years ago

For a partially cancelled train we are showing the cancelled message when the train should be showing the delayed reason

image

Note: Like #52 This is showing Maidstone East in the calling points when that is this stop.

peter-mount commented 8 years ago

Ok this looks like possibly a darwin reference bug.

http://uktra.in/rtt/train/201601071459407

Says: Late Reason This train has been cancelled because of a train late from the depot

Looking in the db for that one:

rail=# select * from darwin.latereason where id=121; id | name
-----+---------------------------------------------------------------------- 121 | This train has been cancelled because of a train late from the depot

That table shouldn't be saying cancelled. It's not the only entry as well.