HSLdevcom / jore4

Public transport registry
European Union Public License 1.2
4 stars 2 forks source link

Timetable versions page displays timetable for a random route on the line #1540

Open culka opened 1 year ago

culka commented 1 year ago

Currently the versions page displays the versions for a randomly selected route on the line. All the routes should have the same time table, but an empty result is possible in case a route has no time table for it.

=> but an empty result is possible in cases where the chosen route has no timetable in it?

edit: This can be replicated using a timetable with vehicle journeys only in one direction. Sometimes this will result in an empty versions page.

Check with Petri if we should fix this or not, as it is not something that should happen with real data.

niknii-vincit commented 1 year ago

Page and location in Frontend: Image URL end: timetables/lines/35/versions?returnTo=9ef2a847-b026-43a6-a3a0-96055483f260&startDate=2023-10-16&endDate=2024-10-16

Fetches 2 journey_pattern_ids: Image

Just to use only one of them: Image

niknii-vincit commented 10 months ago

This should most likely be closed, it was deemed to work as intended, once Henkka came back from his Fall vacation.

ellinooraikaheimo commented 9 months ago

Check this ticket and close if not done. Ping @culka @niknii-vincit @HenrikHartiala