noi-techpark / realtimebus

Real Time Bus Notification System
GNU Affero General Public License v3.0
18 stars 7 forks source link

Missing bus in arrival at the bus stop #5

Open ohnewein opened 9 years ago

ohnewein commented 9 years ago

In the tooltip information of a single bus stop, the information about the bus in arrival is missing. To be verified!

markuswindegger commented 9 years ago

For a better description: All busses are visible in the tooltip, only the busses departed from the first busstation are not shown any more on the tool tip box

ohnewein commented 9 years ago

Markus can you provide a better description? Maybe with screenshots on which we can see the problem?

markuswindegger commented 9 years ago

For sure!

Here is a screenshot. You see the bus is arriving at the busstation at 10.50. But on the busstation is only listed the next pass at 11:07 (missing 10.50 [10.47 + 3] and 11.01 [10:57 + 4] as next busses). bildschirmfoto vom 2015-01-22 10 50 00

ohnewein commented 9 years ago

Is this a problem at the backend or in the client?

markuswindegger commented 9 years ago

I know that this problem is at the backend.

http://realtimebus.tis.bz.it/5148.1/buses?jsonp=jQuery1910020058449411248347_1421927576421&

This request (URL/busstopnumber.1/buses?....) shows you only the busses not started at the first busstop from this line. So all the next busses are only these, which are not started yet the trip. This has as an affekt, that in the response from server with this URL all the next busses has 0 delay obviously.

I think I could try looking the query a bit moore, to give moore ingormations about this call. _=1421927576452