Closed vpaturet closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.45%. Comparing base (
ce93c85
) to head (d0ec77e
). Report is 2 commits behind head on dev-2.x.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@lassetyr we apply today some complex logic to "guess" the agency of an extra journey when its line or replaced line cannot be resolved. Should extra journeys that do not refer to an existing line or existing replaced line simply be discarded? What are the requirements in the Nordic SIRI profile?
Summary
When creating an extra-journey, the SIRI updater attempts to resolve the agency to which the trip belongs. The algorithm does not always succeed in finding the agency. When it fails, it leads to a NullPointerException:
This PR handles this corner case by reporting a specific error message in this case. (This will allow further analysis by reviewing error log messages)
Issue
No
Unit tests
Added unit test
Documentation
No