Skip to content

Conversation

@leonardehrenfried
Copy link
Member

@leonardehrenfried leonardehrenfried commented Aug 21, 2025

Summary

In #6752 I introduced a bug where an invalid GTFS shape ID was not ignored anymore but caused an NPE.

This PR fixes the bug and restores the previous behaviour. I also renamed an issue so it's a little clearer what the problem is.

Unit tests

Added.

Documentation

Issue description.

@leonardehrenfried leonardehrenfried added the !Bug Apply to issues describing a bug and PRs witch fixes it. label Aug 21, 2025
@leonardehrenfried leonardehrenfried requested a review from a team as a code owner August 21, 2025 11:20
@leonardehrenfried leonardehrenfried added the +GTFS Related to import of GTFS data label Aug 21, 2025
@codecov
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.97%. Comparing base (d65ad26) to head (59db621).
⚠️ Report is 57 commits behind head on dev-2.x.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev-2.x    #6807      +/-   ##
=============================================
- Coverage      71.97%   71.97%   -0.01%     
+ Complexity     19425    19422       -3     
=============================================
  Files           2099     2098       -1     
  Lines          78757    78756       -1     
  Branches        7970     7970              
=============================================
- Hits           56685    56682       -3     
  Misses         19256    19256              
- Partials        2816     2818       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

# Conflicts:
#	application/src/test/java/org/opentripplanner/graph_builder/module/geometry/GeometryProcessorTest.java
@leonardehrenfried leonardehrenfried merged commit f5242fe into opentripplanner:dev-2.x Aug 26, 2025
7 checks passed
t2gran pushed a commit that referenced this pull request Aug 26, 2025
@leonardehrenfried leonardehrenfried deleted the shape-id branch August 26, 2025 12:54
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. +GTFS Related to import of GTFS data

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants