Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AgencyId in SubsectionTripTransformStrategy is not preserved? #181

Open
marecabo opened this issue Aug 31, 2021 · 0 comments
Open

AgencyId in SubsectionTripTransformStrategy is not preserved? #181

marecabo opened this issue Aug 31, 2021 · 0 comments

Comments

@marecabo
Copy link

Summary:

I suspect that this line

should actually be like this line

because both methods are trimming trips somehow (still need to grasp their differences, though).

Steps to reproduce:

I have not run anything yet, I'm reading and trying to understand the code's functionality.

Expected behavior:

I expect the original AgencyId to persist when transforming a trip, or, if this is not reasonable, to use a configurable AgencyId.

Observed behavior:

The line in SubsectionTripTransformStrategy introduces a new constant AgencyId "1" and does not reuse the AgencyId of the original trip.

Platform:

  • onebusaway-gtfs-modules: 1.3.101-SNAPSHOT

Thank you for your work at these helpful modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant