Skip to content

Include all trips in stopTimesForStop - #3817

Merged
hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_fix_stoptimes_helper
Jan 25, 2022
Merged

Include all trips in stopTimesForStop#3817
hannesj merged 1 commit into
opentripplanner:dev-2.xfrom
entur:otp2_fix_stoptimes_helper

Conversation

@hannesj

@hannesj hannesj commented Jan 17, 2022

Copy link
Copy Markdown
Contributor

Summary

Previously only trips that were in patterns created from real-time updaters, or which did not contain any real-time updates were returned when fetching all stop times for the requested stop. This fixes the issue by returning trips from all patterns, and filtering the ones which were replaced by another patterin deeper in the call hierarchy.

Issue

Fixes #3816

Unit tests

None changed

Code style

Documentation

None required

Changelog

The changelog file
is generated from the pull-request title, make sure the title describe the feature or issue fixed.
To exclude the PR from the changelog add [changelog skip] in the title.

@hannesj hannesj added !Bug Apply to issues describing a bug and PRs witch fixes it. Entur Test This is currently being tested at Entur labels Jan 17, 2022
@hannesj hannesj added this to the 2.1 milestone Jan 17, 2022
@hannesj
hannesj requested a review from a team as a code owner January 17, 2022 21:01
Comment thread src/main/java/org/opentripplanner/routing/stoptimes/StopTimesHelper.java Outdated
@hannesj
hannesj force-pushed the otp2_fix_stoptimes_helper branch from c84cde3 to 9e62179 Compare January 25, 2022 00:47
@hannesj
hannesj merged commit a39d353 into opentripplanner:dev-2.x Jan 25, 2022
t2gran pushed a commit that referenced this pull request Jan 25, 2022
@hannesj
hannesj deleted the otp2_fix_stoptimes_helper branch March 15, 2022 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

!Bug Apply to issues describing a bug and PRs witch fixes it. Entur Test This is currently being tested at Entur

Projects

None yet

Development

Successfully merging this pull request may close these issues.

estimatedCalls in the Transmodel API does not show all departures

3 participants